Skip to content

Commit 94e19db

Browse files
committed
Cert: Self-Signed WIN Trial (fix)
1 parent c9281b7 commit 94e19db

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ jobs:
7575
-Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" `
7676
-KeyExportPolicy Exportable `
7777
-KeyUsage DigitalSignature `
78-
-ValidityPeriod Years `
79-
-ValidityPeriodUnits 1 `
78+
-NotAfter (Get-Date).AddYears(1) `
8079
-CertStoreLocation "Cert:\CurrentUser\My"
8180
8281
Write-Host "✅ Test certificate created with thumbprint: $($cert.Thumbprint)"

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ jobs:
8484
-Provider "Microsoft Enhanced RSA and AES Cryptographic Provider" `
8585
-KeyExportPolicy Exportable `
8686
-KeyUsage DigitalSignature `
87-
-ValidityPeriod Years `
88-
-ValidityPeriodUnits 3 `
87+
-NotAfter (Get-Date).AddYears(3) `
8988
-CertStoreLocation "Cert:\CurrentUser\My"
9089
9190
Write-Host "Certificate created with thumbprint: $($cert.Thumbprint)"

0 commit comments

Comments
 (0)