New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add explicit TLS 1.2 setting to PS session when downloading RubyDevKit #350

merged 1 commit into from Dec 11, 2018


None yet
2 participants

fullstackinfo commented Dec 2, 2018

Referencing issue #185 when getting switching to the new https endpoing from http, the powershell command executed when building the win2k8 box using packer will still throw an exception, unless the security protocol for the WebClient is set to TLS 1.2 (as it is now pretty much enforced everywhere. The settings is only good for a single session, so it needs to be pre-pended to every bat file that invokes a web request/download via "powershell.exe -Command ...".

@jmartin-r7 jmartin-r7 self-assigned this Dec 11, 2018

@jmartin-r7 jmartin-r7 merged commit dc43bc6 into rapid7:master Dec 11, 2018

jmartin-r7 added a commit that referenced this pull request Dec 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment