Question

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

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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