Skip to content

Instantly share code, notes, and snippets.

@lukehutton
Last active May 7, 2024 07:15
Show Gist options
  • Save lukehutton/ab80d207172a923401b1 to your computer and use it in GitHub Desktop.
Save lukehutton/ab80d207172a923401b1 to your computer and use it in GitHub Desktop.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa379810(v=vs.85).aspx HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SchUseStrongCrypto Instructs Schannel to disable known weak cryptographic algorithms, cipher suites, and SSL/TLS protocol versions that may be otherwise enabled for better interoperability.
New-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319' -name 'SchUseStrongCrypto' -value 1 -PropertyType 'DWord' -Force | Out-Null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment