Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-13 13:33:43 +00:00
parent 77dc96f4bb
commit 8e06fceb6b
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 1 additions and 8 deletions

BIN
.github/SSLcom-sandbox.crt vendored Normal file

Binary file not shown.

View File

@ -178,14 +178,7 @@ jobs:
if: inputs.sign == '' if: inputs.sign == ''
run: | run: |
Set-StrictMode -Version 'Latest' Set-StrictMode -Version 'Latest'
$Cert = Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert | Select-Object -First 1 certutil.exe -addstore root ./.github/SSLcom-sandbox.crt
echo Certificate: $Cert
$Chain = New-Object System.Security.Cryptography.X509Certificates.X509Chain
echo Chain: $Chain
echo Root: $Chain.ChainElements[2].Certificate
[void]$Chain.Build($Cert)
$Chain.ChainElements[2].Certificate | Export-Certificate -Type CERT -FilePath SSLcom-sandbox-root.crt
certutil.exe -addstore root ./SSLcom-sandbox-root.crt
env: env:
INSTALL_DIR: C:\Users\runneradmin\eSignerCKA INSTALL_DIR: C:\Users\runneradmin\eSignerCKA
MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key MASTER_KEY_FILE: C:\Users\runneradmin\eSignerCKA\master.key