Skip to content

Commit

Permalink
do not enable tls 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed Apr 11, 2021
1 parent a965c0d commit 39ef6a3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions eject-media.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ trap {


#
# enable TLS 1.1 and 1.2.
# enable TLS 1.2.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12


Expand Down
3 changes: 1 addition & 2 deletions libvirt-fix-cpu-driver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ if ('SeaBIOS' -ne (Get-WmiObject WIN32_BIOS -Property Manufacturer).Manufacturer


#
# enable TLS 1.1 and 1.2.
# enable TLS 1.2.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12

$taskName = 'libvirt-fix-cpu-driver'
Expand Down
3 changes: 1 addition & 2 deletions optimize.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ trap {


#
# enable TLS 1.1 and 1.2.
# enable TLS 1.2.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12


Expand Down
3 changes: 1 addition & 2 deletions provision-cloudbase-init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ trap {
Exit 1
}

# enable TLS 1.1 and 1.2.
# enable TLS 1.2.
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12

$cloudbaseInitHome = 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init'
Expand Down
3 changes: 1 addition & 2 deletions provision-openssh.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ trap {


#
# enable TLS 1.1 and 1.2.
# enable TLS 1.2.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12

#
Expand Down
3 changes: 1 addition & 2 deletions provision-powershell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ trap {


#
# enable TLS 1.1 and 1.2.
# enable TLS 1.2.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12


Expand Down
3 changes: 1 addition & 2 deletions provision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ trap {
Exit 1
}

# enable TLS 1.1 and 1.2.
# enable TLS 1.2.
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol `
-bor [Net.SecurityProtocolType]::Tls11 `
-bor [Net.SecurityProtocolType]::Tls12

if (![Environment]::Is64BitProcess) {
Expand Down

0 comments on commit 39ef6a3

Please sign in to comment.