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

Sachin SinghRank #66 · 26.2K reputationPosted Jun 16, 2022, 2:21 AM EDT
Aymen AmriRank #1,022 · 1.9K reputationPosted Jun 19, 2022, 1:47 PM EDT