Set-AdfsSslCertificate

Set-AdfsSslCertificate

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

Sintaxis

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

Descripción detallada

The Set-AdfsSslCertificate cmdlet sets an SSL certificate for HTTPS bindings for Servicios de federación de 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.

Parámetros

-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

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • System.Object

Ejemplos

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"

Temas relacionados

Get-AdfsSslCertificate