Reputation: 179
I am facing an error when I try to connect Visual Studio 2010, 2012 and 2013 to our Azure DevOps Server 2019 instance. In each of those versions when I attempt to add the server I get an error
TF31002: Unable to connect to this Team Foundation Server.
Technical Information: The request was aborted: Could not create SSL/TLS secure channel.
If I try to connect again after that I see this message.
The underlying connection was closed: An unexpected error occurred on a send.
I am able to connect without error on VS 2015, 2017 and 2019. I am having this problem on multiple machines. The machines are on Win 10 and Win 2012R2. Also from these machines I can hit the TFS https web sites, team projects just fine.
Upvotes: 1
Views: 1366
Reputation: 179
I found the fix. Looks like it is a TLS issue.
Run this from powershell:
reg add HKLM\SOFTWARE\Microsoft.NETFramework\v4.0.30319 /v SchUseStrongCrypto /t REG_DWORD /d 1 /f /reg:32
Upvotes: 1