File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ try {
385385 Remove-Item - LiteralPath $zipFilePath - Force
386386 }
387387 $ProgressPreference = " SilentlyContinue"
388+ [Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
388389 Invoke-WebRequest - UseBasicParsing - Uri $zipUrl - OutFile $zipFilePath
389390 Add-Type - AssemblyName System.IO.Compression.FileSystem
390391 [System.IO.Compression.ZipFile ]::ExtractToDirectory($zipFilePath , $perlInstallRoot )
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ try {
385385 Remove-Item - LiteralPath $zipFilePath - Force
386386 }
387387 $ProgressPreference = " SilentlyContinue"
388+ [Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
388389 Invoke-WebRequest - UseBasicParsing - Uri $zipUrl - OutFile $zipFilePath
389390 Add-Type - AssemblyName System.IO.Compression.FileSystem
390391 [System.IO.Compression.ZipFile ]::ExtractToDirectory($zipFilePath , $perlInstallRoot )
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ try {
385385 Remove-Item - LiteralPath $zipFilePath - Force
386386 }
387387 $ProgressPreference = " SilentlyContinue"
388+ [Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
388389 Invoke-WebRequest - UseBasicParsing - Uri $zipUrl - OutFile $zipFilePath
389390 Add-Type - AssemblyName System.IO.Compression.FileSystem
390391 [System.IO.Compression.ZipFile ]::ExtractToDirectory($zipFilePath , $perlInstallRoot )
You can’t perform that action at this time.
0 commit comments