Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-AdfsCertificate

Module:
ADFS Module

Retrieves the certificates from AD FS.

Syntax

ByType (Default)

Get-AdfsCertificate
 [[-CertificateType] <String[]>]
 [<CommonParameters>]

ByReference

Get-AdfsCertificate
 [-Thumbprint] <String[]>
 [<CommonParameters>]

Description

The Get-AdfsCertificate cmdlet retrieves the certificates that Active Directory Federation Services (AD FS) uses for token signing, token decrypting, card signing, and securing service communications.

Examples

Example 1: Get the token-signing certificates

PS C:\> Get-AdfsCertificate -CertificateType "Token-Signing"

This command retrieves the token-signing certificates for AD FS.

Parameters

-CertificateType

Specifies the type of the certificate to retrieve. The acceptable values for this parameter are:

  • Infocard-Signing
  • Service-Communications
  • Token-Encryption
  • Token-Signing

Parameter properties

Type:

String[]

Default value:None
Accepted values:Service-Communications, Token-Decrypting, Token-Signing
Supports wildcards:False
DontShow:False

Parameter sets

-Thumbprint

Specifies the thumbprint of the certificate to retrieve.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate

Returns one or more ServiceCertificate objects that represent the certificate objects for AD FS.

Notes

  • You can use the Get-AdfsCertificate cmdlet without any parameters to get all the certificates.

Related Links


Feedback

Was this page helpful?