File tree Expand file tree Collapse file tree 9 files changed +15
-15
lines changed
Expand file tree Collapse file tree 9 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ function ConvertTo-Pfx {
150150 [System.IO.File ]::WriteAllText($pfxPasswordFilePath , $pfxFilePassword , [System.Text.Encoding ]::ASCII)
151151 }
152152
153- $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.exe"
154- $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.cnf"
153+ $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.exe"
154+ $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.cnf"
155155 $env: RANDFILE = " .rnd"
156156
157- $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" "
157+ $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg sha1 "
158158
159159 Invoke-VstsTool - FileName $openSSLExePath - Arguments $openSSLArgs - RequireExitCodeZero
160160
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 4 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 4 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ function ConvertTo-Pfx {
150150 [System.IO.File ]::WriteAllText($pfxPasswordFilePath , $pfxFilePassword , [System.Text.Encoding ]::ASCII)
151151 }
152152
153- $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.exe"
154- $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.cnf"
153+ $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.exe"
154+ $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.cnf"
155155 $env: RANDFILE = " .rnd"
156156
157- $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" "
157+ $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg sha1 "
158158
159159 Invoke-VstsTool - FileName $openSSLExePath - Arguments $openSSLArgs - RequireExitCodeZero
160160
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 5 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 5 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ function ConvertTo-Pfx {
150150 [System.IO.File ]::WriteAllText($pfxPasswordFilePath , $pfxFilePassword , [System.Text.Encoding ]::ASCII)
151151 }
152152
153- $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.exe"
154- $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\openssl \openssl.cnf"
153+ $openSSLExePath = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.exe"
154+ $env: OPENSSL_CONF = " $PSScriptRoot \ps_modules\VstsAzureHelpers_\opensslv4 \openssl.cnf"
155155 $env: RANDFILE = " .rnd"
156156
157- $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" "
157+ $openSSLArgs = " pkcs12 -export -in $pemFilePath -out $pfxFilePath -password file:`" $pfxPasswordFilePath `" -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg sha1 "
158158
159159 Invoke-VstsTool - FileName $openSSLExePath - Arguments $openSSLArgs - RequireExitCodeZero
160160
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 6 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
Original file line number Diff line number Diff line change 1414 "version" : {
1515 "Major" : 6 ,
1616 "Minor" : 259 ,
17- "Patch" : 0
17+ "Patch" : 1
1818 },
1919 "demands" : [
2020 " azureps"
You can’t perform that action at this time.
0 commit comments