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

Possible to use this with a self-signed certificate? #2

Closed
jasonhildebrand opened this issue Dec 4, 2017 · 1 comment
Closed

Possible to use this with a self-signed certificate? #2

jasonhildebrand opened this issue Dec 4, 2017 · 1 comment

Comments

@jasonhildebrand
Copy link

Thanks for your work on this. I've been able to connect successfully to NAV using NTLM authentication.

Recently we switched the NAV instance to use HTTPS with a self-signed certificate.

Now I'm getting:

PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://<url scrubbed>' : failed to load external entity "https://<url scrubbed>/Page/Item"
 in <scrubbed>/vendor/matejsvajger/ntlm-soap-client/src/NTLMSoap/Model/BaseClient.php on line 39

For test purposes, I tried adding

curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
to both places in the code where a curl handle is created, but I'm still getting the same error.

If you have any ideas, I would be be happy to hear them!

@jasonhildebrand
Copy link
Author

I have implemented HTTPS support in this PR:
#4

Closing this ticket.

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

1 participant