Closed MKastuv closed 4 years ago
I need to restart my laptop ... I dont know why. Thanks !
This may also have to do with the recent change MS made on PowerShell Gallery to disable old TLS protocols.
Unless you've made some .NET related registry changes to enable newer encryption support, PowerShell defaults to only having TLS 1.0 and 1.1 available. So you have to run this to get it to use TLS 1.2 which is the only thing PowerShell Gallery now supports. I should also probably add this to the readme.
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Here is my error: