×

Enable and use TLS 1.2

Last updated: July 19, 2022

Through MA!N, web services can be used. They often work with TLS 1.2 security which is not by default enabled on Windows Server older then 2019. There is no “fix” to enable this however there is a Microsoft instruction that guides you through adjusting the registry.

Below is a PowerShell script that enables this for you. Note that TLS 1.1/.0 are left as they are, if they were enabled on your system they remain to be, 1.2 just gets added as an available option:

  • Open PowerShell (with local administrator rights)
  • Execute the below script:
# Set strong cryptography on 64 bit .Net Framework (version 4 and above)
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord


# set strong cryptography on 32 bit .Net Framework (version 4 and above)
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord 
  • Exit PowerShell and enjoy TLS 1.2 functionality.