{"id":8644,"date":"2022-03-14T23:01:18","date_gmt":"2022-03-14T22:01:18","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=8644"},"modified":"2022-03-15T16:09:13","modified_gmt":"2022-03-15T15:09:13","slug":"net-set-default-ssl-tls-version-to-1-2","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/net-set-default-ssl-tls-version-to-1-2\/","title":{"rendered":".NET: Set default SSL\/TLS Version to 1.2"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_8644 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_8644')){$('.twoclick_social_bookmarks_post_8644').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\".NET%3A%20Set%20default%20SSL%2FTLS%20Version%20to%201.2\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Aby%20default%20.NET%20does%20not%20uses%20TLS%20Version%201.2.%20So%20if%20you%20disable%20all%20SSL%2FTLS%20versions%20lower%20then%201.2%20.NET%20application%20could%20not%20establish%20a%20secure%20connection%20anymore.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/net-set-default-ssl-tls-version-to-1-2\\\/\",\"post_id\":8644,\"post_title_referrer_track\":\".NET%3A+Set+default+SSL%2FTLS+Version+to+1.2\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>by default .NET does not uses TLS Version 1.2. So if you disable all SSL\/TLS versions lower then 1.2 .NET application could not establish a secure connection anymore.<br \/>\n<!--more--><br \/>\nTo set the default TLS version to 1.2 set the following registry values:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v2.0.50727 \/v SystemDefaultTlsVersions \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v2.0.50727 \/v SchUseStrongCrypto \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319 \/v SystemDefaultTlsVersions \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\.NETFramework\\v4.0.30319 \/v SchUseStrongCrypto \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\.NETFramework\\v2.0.50727 \/v SystemDefaultTlsVersions \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\.NETFramework\\v2.0.50727 \/v SchUseStrongCrypto \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\.NETFramework\\v4.0.30319 \/v SystemDefaultTlsVersions \/d 1 \/t REG_DWORD \/f\r\nreg add HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\.NETFramework\\v4.0.30319 \/v SchUseStrongCrypto \/d 1 \/t REG_DWORD \/f\r\n<\/pre>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, by default .NET does not uses TLS Version 1.2. So if you disable all SSL\/TLS versions lower then 1.2 .NET application could not establish a secure connection anymore.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[76,1827,1209,384,433,1208],"class_list":["post-8644","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-net","tag-1-2","tag-default","tag-set","tag-tls","tag-version"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=8644"}],"version-history":[{"count":1,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8644\/revisions"}],"predecessor-version":[{"id":8645,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8644\/revisions\/8645"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=8644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=8644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=8644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}