2024年1月25日 星期四

.Net Core The SSL connection could not be established, see inner exception.

在使用HttpClient時出現錯誤
The SSL connection could not be established, see inner exception.
網路上能找的解法都用上了都沒用
後來猜想是不是TLS支援度問題
所以將程式移至另一台OS較新的Server上就可以了
Server 2012 X > Server 2016 O
參考資料
The SSL connection could not be established, see inner exception.
Windows Server2012 R2不支持TLS1.3