Set-TempSecurityProtocol and TLS 1.3
Closed this issue · 0 comments
xxbiohazrdxx commented
Getting an exception from Set-TempSecurityProtocol trying to enable TLS 1.3:
"Cannot convert value 'Tls13 to type 'System.Net.SecurityProtocolType
"
It looks like by default since .NET 4.7 the service point manager will use the system default (which generally will be TLS 1.2)
Honestly, I probably would just try and set TLS 1.2 for the time being or let the OS handle it. Commenting out Set-TempSecurityProtocol local fixed all issues for me and allowed me to search/download updates.