Shanthala Udupa

Shanthala Udupa

  • NA
  • 97
  • 6.9k

SSL/TLS connection

Jun 16 2022 4:55 AM

Hello I am working B.net to configure a remote server , after configuring it's giving following error

The underlying connection was closed could not establish trust relationship for the ssl/TLS secure channel

For this issue I have added following line of code but still giving same error

 ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 Or SecurityProtocolType.Tls Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12

can you pls guide me what changes I can make for this

Thanks

Shanthala
 


Answers (2)