Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-AdfsCertificate

Last Updated: 3/8/2017

SYNOPSIS

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
Type: String[]
Parameter Sets: ByType
Aliases: 
Accepted values: Service-Communications, Token-Decrypting, Token-Signing

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Thumbprint

Specifies the thumbprint of the certificate to retrieve.

Type: String[]
Parameter Sets: ByReference
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate

This cmdlet generates a class structure that represents the certificate objects for ADFS.

NOTES

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

Add-AdfsCertificate

Remove-AdfsCertificate

Set-AdfsCertificate

Update-AdfsCertificate

© 2017 Microsoft