ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptupit...@apache.org
Subject [ignite] 01/01: Fix TLS version in build.ps1
Date Thu, 01 Oct 2020 17:29:02 GMT
This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-2.9-dotnet-fix
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 41e123f9cc8980331c8ac4a575e942ca70b80e2a
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
AuthorDate: Thu Oct 1 20:28:27 2020 +0300

    Fix TLS version in build.ps1
---
 modules/platforms/dotnet/build.ps1 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/platforms/dotnet/build.ps1 b/modules/platforms/dotnet/build.ps1
index 88a6d78..3a492ae 100644
--- a/modules/platforms/dotnet/build.ps1
+++ b/modules/platforms/dotnet/build.ps1
@@ -174,6 +174,8 @@ cd $PSScriptRoot
 # Detect NuGet
 $ng = if ($nugetPath) { $nugetPath } else { "nuget" }
 
+[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
+
 if ((Get-Command $ng -ErrorAction SilentlyContinue) -eq $null) { 
 	$ng = If ($IsLinux) { "mono $PSScriptRoot/nuget.exe" } else { "$PSScriptRoot\nuget.exe"
}    
 


Mime
View raw message