Set-AdfsSslCertificate

Set-AdfsSslCertificate

Sets an SSL certificate for HTTPS bindings for AD FS and the device registration service.

Syntaxe

Parameter Set: Default
Set-AdfsSslCertificate -Thumbprint <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Description détaillée

The Set-AdfsSslCertificate cmdlet sets an SSL certificate for HTTPS bindings for services de fédération Active Directory (AD FS) and, if configured, the device registration service. The subject name of the specified certificate must match the federation service name. Use this cmdlet to change the SSL certificate associated with the AD FS service. You must run this cmdlet on each AD FS server in the AD FS farm.

Paramètres

-Thumbprint<String>

Specifies the thumbprint of a certificate. The thumbprint that you specify corresponds to the certificate installed on the in the local store.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByValue)

Accepter les caractères génériques ?

false

-Confirm

Votre confirmation sera requise avant l’exécution de l’applet de commande.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-WhatIf

Présente les conséquences éventuelles de l’exécution de l’applet de commande. L’applet de commande n’est pas exécutée.

Obligatoire ?

false

Position ?

named

Valeur par défaut

false

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • System.Object

Exemples

Example 1: Set a certificate

This command sets the specified certificate for HTTPS bindings for AD FS and, if configured, the device registration service.

PS C:\> Set-AdfsSslCertificate -Thumbprint "FC85DDB0FC58E63D8CB52654F22E4BE7900FE349"

Rubriques connexes

Get-AdfsSslCertificate