How to consume the WCF SSL Service in PHP client? RRS feed

  • Question

  • Hi All,

    I have developed a WCF SSL enabled service and exposed to client. I have tested this service in .NET environment and working fine.I am facing a problem when testing the same service for PHP client.It is throwing error.

    System.Net.ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) => true);

    What is the equivalent of above lines of code in PHP ?

    Monday, February 3, 2014 10:06 AM