diff --git a/AU/Public/Update-Package.ps1 b/AU/Public/Update-Package.ps1 index 5b42b365..126bb7ee 100644 --- a/AU/Public/Update-Package.ps1 +++ b/AU/Public/Update-Package.ps1 @@ -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