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

Commit 9c0ba43

Browse files
authored
Merge pull request #216 from tunisiano187/patch-1
Set back the tls support and solve Issues #206
2 parents 43216f1 + 849e186 commit 9c0ba43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AU/Public/Update-Package.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ function Update-Package {
382382
$global:Latest = @{PackageName = $package.Name}
383383

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

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

0 commit comments

Comments
 (0)