The request was aborted: Could not create SSL/TLS secure channel.

When running a powershell command in Install-Module or some other form of connectig remotely you may find you run into the error “The request was aborted: Could not create SSL/TLS secure channel.” To allow Power Shell to use TLS 1.2 you need to run this:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Leave a Reply

Your email address will not be published. Required fields are marked *