網站下載使用 Windows 操作系統提供的一個安全套接字協議,裏面包含有https證書使用的加解密API,當遇到windows系統沒有的加密API時,就會報這個錯誤。
windows7 和 windows server 2008 R2,支持到TLS1.0版本。Windows 10 版本 21H2 和 Windows Server 2019,支持到TLS1.2版本。Windows 11 和 Windows Server 2022,支持到TLS1.3版本。詳細文檔
如果windows 11遇到TLS1.3還報錯誤,在
Windows PowerShell執行以下代碼:
Add-Type -AssemblyName System.ServiceModel [System.Enum]::GetNames([System.Net.SecurityProtocolType])
爲什麽chrome/edge能運行在windows7/windows 2008系統呢?
爲什麽網站下載不内置加解密API呢?
