Web Deploy to Azure fails “Could not create SSL/TLS secure channel”

百般思念 提交于 2019-12-06 14:43:54

i faced the same problem: old 2008 r2 Server never changed anything

cause (speculation): since visual studio 15.9 they disabled SSL 2.0, TLS 1.0, etc. so it cant communicate propper with the old webdeploy

solution: enable TLS 1.2 on old webserver (and disable the old ones)

i found this link: https://developercommunity.visualstudio.com/content/problem/384634/webdeploy-netcore-api-to-iis-vs159.html

which linked to this blog: 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.

Step 3: restart.

PS: First i tried the "Client" way, which doesn't work for me. But maybe it helps some one:

I found the answer on this thread: https://stackoverflow.com/a/40050789/9624651 and he referenced to this 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

Do have a look here. I guess they have mentioned your problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!