Requirements: I made a gadget for a friend, the main purpose of which is to check the LAN (Check online website does not have access to the intranet) to provide interface documentation to third parties that describe the security protocols used by https sites.
I believe that during the development process, you may encounter"The request was aborted: Could not create SSL/TLS secure channel"Abnormality, the reason for the abnormality may be that the security protocol version set by the other party is too high, and at the same time, the security protocol version configured by default in your program is too low, and then it cannot communicate normally.
SSL/TLS protocol
SSL stands for Secure Sockets Layer, which is a secure transmission protocol designed by Netscape for the web, with the aim of providing confidentiality, authentication and data integrity guarantee for network communication. Today, SSL has become the industry standard for secure communications on the Internet.
The first few versions of SSL (SSL 1.0, SSL 2.0, SSL 3.0) were designed and maintained by Netscape, and starting from version 3.1, the SSL protocol was officially taken over by the Internet Engineering Task Force (IETF) and renamed TLS (Transport Layer Security), and has developed to TLS 1.0, TLS1.1, and TLS1.2. At present, the mainstream is still TLS1.2, but TLS1.3 is about to become the general trend.
https check tool
Using .NET, we developed an HTTPS security protocol support detection tool, which actually publishes the console application to the nuget repository, which supports: netcoreapp3.1, net5.0, net6.0, and net7.0.
GitHub address:The hyperlink login is visible.
nuget address:The hyperlink login is visible.
The installation command is as follows:
Use the command as follows:
Very simple, the command is package name + space + URL.
(End)
|