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:tlsprocessske_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

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.

×
1 answer

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

Submit an Answer