Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
remove SSL 3.0 in Update-Package
Browse files Browse the repository at this point in the history
closes #206
  • Loading branch information
majkinetor authored Aug 18, 2020
1 parent 7ef9ceb commit 43216f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AU/Public/Update-Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@ function Update-Package {

$global:Latest = @{PackageName = $package.Name}

[System.Net.ServicePointManager]::SecurityProtocol = 'Ssl3,Tls,Tls11,Tls12' #https://github.com/chocolatey/chocolatey-coreteampackages/issues/366
# https://github.com/majkinetor/au/issues/206
#[System.Net.ServicePointManager]::SecurityProtocol = 'Ssl3,Tls,Tls11,Tls12' #https://github.com/chocolatey/chocolatey-coreteampackages/issues/366

$module = $MyInvocation.MyCommand.ScriptBlock.Module
"{0} - checking updates using {1} version {2}" -f $package.Name, $module.Name, $module.Version | result
try {
Expand Down

0 comments on commit 43216f1

Please sign in to comment.