mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Merge pull request #12413 from max-arnold/salt-bootstrap-win-fix
Use more conservative TLS settings to work on older .NET versions
This commit is contained in:
commit
ca686e3192
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# Powershell supports only TLS 1.0 by default. Add support for TLS 1.2 and TLS 1.3
|
||||
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12,Tls13'
|
||||
# Powershell supports only TLS 1.0 by default. Add support for TLS 1.2
|
||||
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12'
|
||||
|
||||
# Define script root for PowerShell 2.0
|
||||
$ScriptRoot = Split-Path $script:MyInvocation.MyCommand.Path
|
||||
|
|
|
|||
Loading…
Reference in a new issue