From a78b3362b2fe12248de4820df90b87867be1e4fa Mon Sep 17 00:00:00 2001 From: Pavel Savara Date: Thu, 27 May 2021 09:42:59 +0200 Subject: [PATCH 1/3] install SSL cert --- src/libraries/sendtohelixhelp.proj | 42 +++++++++++++++++------------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj index 92bd93bf687461..b6acdbfa7aa604 100644 --- a/src/libraries/sendtohelixhelp.proj +++ b/src/libraries/sendtohelixhelp.proj @@ -105,15 +105,6 @@ - - - - @@ -157,21 +148,36 @@ - - @(HelixPreCommand) - true - + + + + true + sdk + + dotnet dev-certs https && - + $(HelixCommand) ./RunTests.sh + $(HelixCommand) --runtime-path "$HELIX_CORRELATION_PAYLOAD" + + + + powershell -command "New-SelfSignedCertificate -FriendlyName 'ASP.NET Core HTTPS development certificate' -DnsName @('localhost') -Subject 'CN = localhost' -KeyAlgorithm RSA -KeyLength 2048 -HashAlgorithm sha256 -CertStoreLocation 'Cert:\CurrentUser\My' -TextExtension @('2.5.29.37={text}1.3.6.1.5.5.7.3.1','1.3.6.1.4.1.311.84.1.1={hex}02','2.5.29.19={text}') -KeyUsage DigitalSignature,KeyEncipherment" && - call RunTests.cmd - $(HelixCommand) --runtime-path %HELIX_CORRELATION_PAYLOAD% - ./RunTests.sh - $(HelixCommand) --runtime-path "$HELIX_CORRELATION_PAYLOAD" + $(HelixCommand) call RunTests.cmd + $(HelixCommand) --runtime-path %HELIX_CORRELATION_PAYLOAD% + + + + @(HelixPreCommand) + true From ad0e49d3304f3605f79de0f5d00c922fefc6181a Mon Sep 17 00:00:00 2001 From: Pavel Savara Date: Thu, 27 May 2021 10:12:41 +0200 Subject: [PATCH 2/3] fix --- src/libraries/sendtohelixhelp.proj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj index b6acdbfa7aa604..2be3ab0290e0e3 100644 --- a/src/libraries/sendtohelixhelp.proj +++ b/src/libraries/sendtohelixhelp.proj @@ -98,6 +98,7 @@ + @@ -149,15 +150,14 @@ true sdk - dotnet dev-certs https && $(HelixCommand) ./RunTests.sh From a6bfcd00567a2b2a80ccc3cd0fcd301200259887 Mon Sep 17 00:00:00 2001 From: Pavel Savara Date: Thu, 27 May 2021 11:49:37 +0200 Subject: [PATCH 3/3] feedback --- src/libraries/sendtohelixhelp.proj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/sendtohelixhelp.proj b/src/libraries/sendtohelixhelp.proj index 2be3ab0290e0e3..71106ee2549c87 100644 --- a/src/libraries/sendtohelixhelp.proj +++ b/src/libraries/sendtohelixhelp.proj @@ -72,11 +72,12 @@ true + true - + @@ -98,7 +99,7 @@ - + @@ -156,7 +157,6 @@ --> - true sdk dotnet dev-certs https &&