title: “Could not establish trust relationship for the SSL/TLS secure channel with authority” for SOAP in .NET 4.6.2
body: <p>I am trying to make a SOAP WCF call to an internal application from .NET 4.6.2 and I get the error above.  I found a solution that I thought would work, but upon further investigation it is only applicable to .NET 4.5:</p>
  
  <pre><code>System.Net.ServicePointManager.ServerCertificateValidationCallback +=
              (se, cert, chain, sslerror) =&gt; true;
  </code></pre>
  
  <p>Is there a comperable solution for .NET 4.6?  I am not concerned about the security implications, this is for internal testing only.  </p>