{"id":1175,"date":"2021-02-18T08:11:03","date_gmt":"2021-02-18T07:11:03","guid":{"rendered":"https:\/\/ndk.sytes.net\/wordpress\/?p=1175"},"modified":"2021-02-18T08:11:46","modified_gmt":"2021-02-18T07:11:46","slug":"enable-tls-1-2-in-powershell","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=1175","title":{"rendered":"Enable TLS 1.2 in Powershell"},"content":{"rendered":"\n<p>Enable TLS 1.2 per powershell session:<\/p>\n\n\n\n<p>Open your Windows PowerShell and type:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;<\/pre>\n\n\n\n<p>Another way is to manipulation your windows registry. As always when working inside the registry, do a backup beforehand&#8230;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># set strong cryptography on 64 bit .Net Framework (version 4 and above)\nSet-ItemProperty -Path 'HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\.NetFramework\\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"># set strong cryptography on 32 bit .Net Framework (version 4 and above)<br>Set-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\.NetFramework\\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enable TLS 1.2 per powershell session: Open your Windows PowerShell and type: [Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; Another way is to manipulation your windows registry. As always when working inside the registry, do a backup beforehand&#8230; # set strong cryptography on 64 bit .Net Framework (version 4 and above) Set-ItemProperty -Path &#8216;HKLM:\\SOFTWARE\\Wow6432Node\\Microsoft\\.NetFramework\\v4.0.30319&#8217; -Name &#8216;SchUseStrongCrypto&#8217; -Value &#8216;1&#8217; -Type [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[],"class_list":["post-1175","post","type-post","status-publish","format-standard","hentry","category-servers","category-windows"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1175"}],"version-history":[{"count":2,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1175\/revisions"}],"predecessor-version":[{"id":1177,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1175\/revisions\/1177"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}