Unable to connect to PowerShell Gallery when TLS 1.0 is disabled

Unable to connect to PowerShell Gallery when TLS 1.0 is disabled

Today I had a interesting issue. I could not connect to the PowerShell Gallery anymore. The horror, the horror...Here's the thing; I'm working on hardening Windows servers, and one of the settings I'm implementing is disabling TLS 1.0. It's known for quite a while that Microsoft is working on disabling TLS 1.0 everywhere. So I want to be a good boy and follow the industry moves.But if you're disabling TLS 1.0, and your .NET application is using a .NET framework older than 4.7, then akward issues can arise. For example, I had the following…

Read More