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

Commit

Permalink
Merge pull request #216 from tunisiano187/patch-1
Browse files Browse the repository at this point in the history
Set back the tls support and solve Issues #206
  • Loading branch information
majkinetor authored Aug 18, 2020
2 parents 43216f1 + 849e186 commit 9c0ba43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AU/Public/Update-Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function Update-Package {
$global:Latest = @{PackageName = $package.Name}

# https://github.com/majkinetor/au/issues/206
#[System.Net.ServicePointManager]::SecurityProtocol = 'Ssl3,Tls,Tls11,Tls12' #https://github.com/chocolatey/chocolatey-coreteampackages/issues/366
[System.Net.ServicePointManager]::SecurityProtocol = 'Tls,Tls11,Tls12,Tls13' #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
Expand Down

0 comments on commit 9c0ba43

Please sign in to comment.