Web 部署到 Azure 失败 "Could not create SSL/TLS secure channel"
Web Deploy to Azure fails "Could not create SSL/TLS secure channel"
我总是从我的本地机器部署到 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 Deploy (3.6) 但没有帮助。
还有什么可以检查的?
谢谢。
一定要看看here。我想他们已经提到了你的问题
我遇到了同样的问题:旧的 2008 r2 服务器从未改变过任何东西
原因(推测):自 visual studio 15.9 起,他们禁用了 SSL 2.0、TLS 1.0 等,因此它无法与旧的 webdeploy
正确通信
解决方案:在旧的网络服务器上启用 TLS 1.2(并禁用旧的)
我找到了这个 link:https://developercommunity.visualstudio.com/content/problem/384634/webdeploy-netcore-api-to-iis-vs159.html
其中 linked 到此博客:
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:首先我尝试了 "Client" 方法,但它对我不起作用。但也许它对某些人有帮助:
我在这个帖子上找到了答案:
他提到了这个 link 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(经典云服务)但是从昨天开始我收到这个错误:
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 Deploy (3.6) 但没有帮助。
还有什么可以检查的?
谢谢。
一定要看看here。我想他们已经提到了你的问题
我遇到了同样的问题:旧的 2008 r2 服务器从未改变过任何东西
原因(推测):自 visual studio 15.9 起,他们禁用了 SSL 2.0、TLS 1.0 等,因此它无法与旧的 webdeploy
正确通信解决方案:在旧的网络服务器上启用 TLS 1.2(并禁用旧的)
我找到了这个 link:https://developercommunity.visualstudio.com/content/problem/384634/webdeploy-netcore-api-to-iis-vs159.html
其中 linked 到此博客: 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:首先我尝试了 "Client" 方法,但它对我不起作用。但也许它对某些人有帮助:
我在这个帖子上找到了答案: