Chocolatey install Error: The request was aborted: Could not create SSL/TLS secure channel
Asked Answered
A

1

11

I'm getting the following error when installing Chocolatey - 'https://chocolatey.org/install.ps1'

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

Althing answered 4/2, 2020 at 22:38 Comment(0)
A
18

Looks like the security protocol changed:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Althing answered 4/2, 2020 at 22:51 Comment(1)
Thank you. Instlaling Choco on Server 2016 fails otherwise.Scold

© 2022 - 2024 — McMap. All rights reserved.