When trying to install a new Sitecore instant in windows 11, the system setup gives error after deploying automation website. It’s trying to up Sitecore marketing automation engine and an error occurs due to a failure caused by TLS 1.3 If you look into the Event Viewer you can find KERNELBASE.dll error:
And Sitecore setup also shows errors like in the below image:
You need to disable TLS 1.3 over TCP for the local IIS. For that run the below script in power shell one by one or create one .ps1 file and run
New-Item
'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS
1.3\Server' -Force | Out-Null
New-ItemProperty -path
'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS
1.3\Server' -name 'Enabled' -value '0' -PropertyType 'DWord' -Force | Out-Null
New-ItemProperty -path
'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS
1.3\Server' -name 'DisabledByDefault' -value 1 -PropertyType 'DWord' -Force |
Out-Null