Skip to content

Commit

Permalink
Force the use of TLS1.2 when downloading Chocolately
Browse files Browse the repository at this point in the history
Support for TLS 1.0 and 1.1 was removed from chocolatey on February 3rd 2020 https://chocolatey.org/blog/remove-support-for-old-tls-versions.

Supersedes StefanScherer#243
  • Loading branch information
Gavin Williams authored Feb 28, 2020
1 parent 5c57dd5 commit d25f3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/chocolatey.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
powershell -NoProfile -ExecutionPolicy unrestricted -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"

0 comments on commit d25f3ac

Please sign in to comment.