Skip to content

Commit

Permalink
clarified instructions for certificates stored in hardware
Browse files Browse the repository at this point in the history
The documentation says to export the certificate, but this introduces errors when the certificate is stored in a hardware token. You just need to specify the certificate fingerprint, no need to export. See issue dotnet/runtime#100414
  • Loading branch information
edoardo-kolver authored Apr 4, 2024
1 parent bb9d25c commit ccd1e10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/create-packages/Sign-a-Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ You can use self-issued certificates for testing purposes. However, packages sig

## Export the certificate file

* If your certificate is stored in a hardware token, you don't need to export the certificate. Instead, specify the SHA-1 certificate fingerprint (thumbprint) by using the option `--certificate-fingerprint <SHA-1fingerprint>` (replacing `--certificate-path <PathToTheCertificate>`)

* You can export an existing certificate to a binary DER format by using the Certificate Export Wizard.

![Certificate Export Wizard](../reference/media/CertificateExportWizard.png)
Expand Down

0 comments on commit ccd1e10

Please sign in to comment.