From 3a0a8e67cb9867b45abf7cc0949f7e7a41d3d684 Mon Sep 17 00:00:00 2001 From: Philipp <34287258+Phippe@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:31:20 +0200 Subject: [PATCH] Fix wrong variable name and adjust path --- docs/guides/distribution/sign-windows.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/distribution/sign-windows.md b/docs/guides/distribution/sign-windows.md index ea9121cc61..46b1a6ef53 100644 --- a/docs/guides/distribution/sign-windows.md +++ b/docs/guides/distribution/sign-windows.md @@ -55,7 +55,7 @@ We now need to import our `.pfx` file. 1. Assign your export password to a variable using `$WINDOWS_PFX_PASSWORD = 'MYPASSWORD'` -2. Now Import the certificate using `Import-PfxCertificate -FilePath Certs/certificate.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String $env:WINDOWS_PFX_PASSWORD -Force -AsPlainText)` +2. Now Import the certificate using `Import-PfxCertificate -FilePath certificate.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String $WINDOWS_PFX_PASSWORD -Force -AsPlainText)` ### C. Prepare Variables