Skip to content

Commit

Permalink
Merge pull request #248 from fatmcgav/patch-1
Browse files Browse the repository at this point in the history
Force the use of TLS1.2 when downloading Chocolatey
  • Loading branch information
StefanScherer authored Mar 1, 2020
2 parents 5c57dd5 + d25f3ac commit 9f26bf4
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 9f26bf4

Please sign in to comment.