我在 Windows 上运行。如果我从命令行调用它:
curl https://dev.azure.com
它返回错误:curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed
这很重要,因为有时我使用 curl 从 Azure devops 下载文件。
最佳答案
这已通过从 https://www.nartac.com/Products/IISCrypto 下载 IISCryptoCLI.exe 得到修复。并运行:
IISCryptoCli.exe /template pci32 /reboot
( IISCryptoCli.exe /template best /reboot
也可以,但我想改用 pci32 来禁用 TLS 1.0 和 1.1。)
关于ssl - 由于 SSL 问题,Curl to Azure devops 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70932897/