0

I found this: Which TLS version was negotiated?

But I am using http client in .net core. How to determine which tls version was negotiated?

  • Use a sniffer like wireshark or fiddler which will show the TLS version. – jdweng Jul 21 '21 at 12:26
  • it is possible when app is deployed to vm but what when I don't have possibility to run app like this. For example in cloud env. – memory5 Jul 21 '21 at 12:48
  • I think only way is to specify the TLS version. You can either use 1.2, 1.3, or both : ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13; – jdweng Jul 21 '21 at 15:22

0 Answers0