Created
March 20, 2018 13:51
-
-
Save lennybacon/ea7d91edfa49476559dfafe33109e017 to your computer and use it in GitHub Desktop.
Set the TLS version to 1.2 as default for .NET
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ItemProperty -Path HKLM:\\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v2.0.50727 -Name SystemDefaultTlsVersions -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v2.0.50727 -Name SchUseStrongCrypto -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319 -Name SystemDefaultTlsVersions -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\Microsoft\.NETFramework\v2.0.50727 -Name SystemDefaultTlsVersions -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\Microsoft\.NETFramework\v2.0.50727 -Name SchUseStrongCrypto -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 -Name SystemDefaultTlsVersions -Value 1 -Type DWord | |
Set-ItemProperty -Path HKLM:\\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 -Name SchUseStrongCrypto -Value 1 -Type DWord |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment