[v12.x backport] Forces Powershell to use tls1.2 by bzoz · Pull Request #34462 · nodejs/node

@nodejs-github-bot added install

Issues and PRs related to the installers.

tools

Issues and PRs related to the tools directory.

v12.x windows

Issues and PRs related to the Windows platform.

labels

Jul 21, 2020

This was referenced

Jul 22, 2020

@bzoz bzoz requested a review from a team as a

September 22, 2020 08:48

@bzoz

Powershell defaults to tls 1.0 - This forces powershell to use tls 1.2
Tls 1.2 is supported in all current microsoft operating systems and
needed to download chocolatey.

Fixes: nodejs#33140
PR-URL: nodejs#33609
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>

addaleax pushed a commit that referenced this pull request

Sep 23, 2020
Powershell defaults to tls 1.0 - This forces powershell to use tls 1.2
Tls 1.2 is supported in all current microsoft operating systems and
needed to download chocolatey.

Fixes: #33140
PR-URL: #33609
Backport-PR-URL: #34462
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>