Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use the lib with https url #13

Open
herau opened this issue Dec 3, 2012 · 2 comments
Open

cannot use the lib with https url #13

herau opened this issue Dec 3, 2012 · 2 comments

Comments

@herau
Copy link

herau commented Dec 3, 2012

hello,
i do an advance install. the wsdl will be not load if i don't declare the realPath of wsdl :

$exchangeclient = new ExchangeClient();
$exchangeclient->init("xxxx", "xxxx", null, realpath(dirname(FILE) . '/EWS/lib/Services.wsdl'));
$items = $exchangeclient->get_messages();

But when i use any functions of exchangeClient no data are retrieve.
which are the potential problem ?
my server is NTLM & Basic atuhentification and the url of my asmx services is an https,
i also must be pass to an proxy (entreprise architecture)

thans in advance

@uklawitter
Copy link

Are you using a linux server? Can you access the URL via CURL?

@igittigitt
Copy link

It may be a little late for a response, but others who read this might be interrested.

Both, AUTH_BASIC and AUTH_NTLM can be used with the lib, but for security reasons you should only use NTLM (which is unsafe also, but not that like unencrypted cleartext passwords on the net).

HTTPS should not be an issue, because the lib switches off any SSL verifycation (well, very unsafe also).

To use a proxy, i guess you should simply set environment-variables 'http_proxy' and 'https_proxy' and it should do. The lib uses cURL to communicate.

I'm using it without proxy, but with SSL, and it seems to work allright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants