Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

{"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."}

ServicePointManager
    .ServerCertificateValidationCallback += 
    (sender, cert, chain, sslPolicyErrors) => true;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #underlying #connection #Could #establish #trust #relationship #secure
ADD COMMENT
Topic
Name
5+7 =