Skip to content

Commit 57c1b77

Browse files
committed
Sync certificates from DigiCert cloud to local Windows certificate store
1 parent 7ca1076 commit 57c1b77

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/package.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
SM_CLIENT_CERT_FILE: D:\Certificate_pkcs12.p12
8282
SM_CLIENT_CERT_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
8383

84-
- name: Register signtool with smctl and verify
84+
- name: Sync DigiCert certificate to local store and verify
8585
if: ${{ runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/') }}
8686
shell: pwsh
8787
env:
@@ -91,8 +91,9 @@ jobs:
9191
SM_CLIENT_CERT_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
9292
run: |
9393
$ErrorActionPreference = 'Stop'
94-
# Register signtool with smctl so it can find it during signing
95-
smctl windows signtool register
94+
# Sync certificates from DigiCert cloud to local Windows certificate store
95+
# This is required so signtool can find the certificate
96+
smctl windows certsync
9697
# Run healthcheck to confirm everything is connected
9798
smctl healthcheck
9899

0 commit comments

Comments
 (0)