2/25/2023 0 Comments .net test tls 1.2![]() ![]() I know I can hardcode the TLS version using ServicePointManager.SecurityProtocol, but this goes against Microsofts recommendation and if I hardcode it to TLS 1.2 and 1.3, then whenever TLS 1.4 is used and the customers OS is patched to support it, my application will still use TLS 1.3 which I don't want. ![]() If the Windows default TLS version is SSL 3.0, TLS 1.0 or TLS 1.1 then use TLS 1.2 or later (including TLS 1.3).Use the Windows default TLS version if it's TLS 1.2 or later.So what I wonder is: Is there some way in a. 2.1 Secure Data Network System 2.2 Secure Network Programming 2.3 SSL 1.0, 2.0, and 3.0 2.4 TLS 1.0 2.5 TLS 1.1 2.6 TLS 1.2 2.7 TLS 1.3. I have followed Microsofts recommendation to not hardcoded the application to use a specific TLS version and instead just rely on the OS default ( ). ![]() The users who have had issues with it using older TLS versions has been able to resolve it by making registry changes, but telling users to reconfigure settings in Windows registry is a bit risky. For >98% of the users, it is correctly using TLS 1.2 but in a couple of cases it tries to use older versions like TLS 1.0 or even SSL 3.0. The application execute as a Windows service. NET Framework 4.8 to use TLS 1.2 or later (including future TLS versions). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |