Report this

What is the reason for this report?

php soap client can't load from https wsdl link...

Posted on October 11, 2019

I have been trying to load a particular https wsdl via php soapclient. The error that I am getting is:

SOAP-ERROR: Parsing WSDL: Couldn’t load from ‘https://xxxx.wsdl’ : failed to load external entity “https://xxxx.wsdl

Moreover I also try to “Curl https://xxxx.wsdl” as well. The error that I am getting is:

curl: (35) error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small

I am able to view the particular wsdl via browser.

The weird thing is that, my colleague has ubuntu 18.04 installed on his machine and he does not have any problems. For your information, I have debian 10 installed and we both have the same IP address.

We are totally lost and will appreciate any guidance.

Best Regards



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

According to this reported bug on the Debian website here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907788

This is because the remote site uses a small DH key.

The solution here would be to get the owner of the site to upgrade this. If this is not doable, you could remove CipherString = DEFAULT@SECLEVEL=2 from /etc/ssl/openssl.cnf.

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.