2023年2月14日 星期二

Windows Server 2016 TLS 1.2

 

.NET C# Version: 4.0.30319.42000

SSO AAD 取得 access_token 錯誤

Results:Bad Request {"error":"invalid_request","error_description":"AADSTS1002016: You are using TLS version 1.0, 1.1 and/or 3DES cipher which are deprecated to improve the security posture of Azure AD. 

PowerShell ISE 檢查

https://www.alitajran.com/wp-content/uploads/scripts/Get-TLS.ps1

PowerShell ISE 啟用 TLS 1.2 (只啟用 .NET 4.X  和 Server, Client)

https://www.alitajran.com/wp-content/uploads/scripts/Set-ExchangeTLS.ps1


參考:https://www.alitajran.com/how-to-enable-tls-on-windows-server/