我总是从本地计算机部署到 Azure(经典云服务),但从昨天开始我收到此错误:
Could not complete the request to remote agent URL 'https://[MYNAME].cloudapp.net:8172/msdeploy.axd?site=Default Web Site'.The request was aborted: Could not create SSL/TLS secure channel
端口已打开。 Web 部署已安装。据我所知,一切都没有改变。 我尝试安装新版本的 Web Deploy (3.6),但没有帮助。
还有什么可以检查的?
谢谢。
最佳答案
我遇到了同样的问题:旧的 2008 r2 服务器从未改变任何内容
原因(推测):从 Visual Studio 15.9 开始,他们禁用了 SSL 2.0、TLS 1.0 等,因此它无法与旧的 webdeploy 正确通信
解决方案:在旧的网络服务器上启用 TLS 1.2(并禁用旧的)
链接到此博客: https://tecadmin.net/enable-tls-on-windows-server-and-iis/
Step 1 – Backup Registry Settings We strongly recommend taking a backup of the registry before making any changes. Use below link to find steps to how to export registry values.
Step 2 – Enable TLS 1.2 on Windows You have two options to enable TLS version on your system.
Option 1 – Merge Resistry File Download the Enable-TLS12-Windows.reg and Enable-TLS12-TLS11-Windows.reg files on your Windows system. Now right click on file and click Merge.
第 3 步:重新启动。
PS:首先我尝试了“客户端”方式,这对我不起作用。但也许它对某些人有帮助:
我在此线程上找到了答案:https://stackoverflow.com/a/40050789/9624651 他引用了这个链接https://dougrathbone.com/blog/2016/02/28/pci-compliant-web-deploy-getting-webdeploy-working-after-disabling-insecure-ciphers-like-ssl-30-and-tls-10
关于azure - Web 部署到 Azure 失败 "Could not create SSL/TLS secure channel",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53352947/