SYNTAX

DESCRIPTION

The Add-HgsKeyProtectionAttestationSignerCertificate cmdlet adds the signer certificate of an attestation server to the list of certificates that the Key Protection Service trusts.
The Key Protection Service uses attestation signer certificates to verify the signatures of health certificates.
To modify the policy for an attestation signer certificate, use the Set-HgsKeyProtectionAttestationSignerCertificatePolicy cmdlet.

EXAMPLES

Example 1: Add a certificate

This command adds the certificate stored in the $Certificate variable to the trusted attestation signer certificates.

PARAMETERS

-Certificate

Specifies an X509Certificate2 certificate.
This cmdlet adds the certificate that this parameter specifies to the attestation signer certificates that the Key Protection Service trusts.
Specify a variable that stores an X509Certificate2 object or an expression that gets the certificate.