jamie yiw
jamie yiw

Reputation: 471

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

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

Upvotes: 11

Views: 4646

Answers (1)

jamie yiw
jamie yiw

Reputation: 471

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'))

Upvotes: 18

Related Questions