Does PHP SoapClient support HTTPS connections

后端 未结 4 1485
庸人自扰
庸人自扰 2020-12-18 12:43

I\'m using XAMPP on Windows and try to work with PHP soap extension SoapClient. I\'m trying to load a WSDL file hosted in HTTPS site using the following code



        
4条回答
  •  没有蜡笔的小新
    2020-12-18 13:01

    it has to do with this change in php 5.6: http://php.net/manual/en/migration56.openssl.php

    I have the same trouble on Windows with php 5.6 and it works fine on Linux with php 5.6.

    You can use the function openssl_get_cert_locations to see what are the certificate locations.

    So far I wasn't able to find a solution.

提交回复
热议问题