Set-AdfsSslCertificate

Set-AdfsSslCertificate is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.

Synopsis

Sets an SSL certificate for HTTPS bindings for AD FS.

Description

The Set-AdfsSslCertificate cmdlet sets an SSL certificate for HTTPS bindings for Active Directory Federation Services (AD FS). 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.

Use this cmdlet to change the deployment from one in which both user certificate authentication and device certificate authentication use port 443, to one in which user certificate authentication uses a non-standard port. Specify a new certificate that does not contain a Subject Alternative Name (SAN) for certauth., as in certauth.TOSSolution.com.

Parameters

-Force

    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Member <String[]>


    Required?                    false
    Position?                    named
    Default value                none
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Thumbprint <String>
    Specifies the thumbprint of a certificate. The thumbprint that you specify corresponds to the certificate installed on the adfs2_fs in the local store.

    Required?                    true
    Position?                    named
    Default value                none
    Accept pipeline input?       True (ByValue)
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf <SwitchParameter>
    Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

Set-AdfsSslCertificate -Thumbprint <String> [-Member <String[]>] [-Force <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]

——————–Example 1——————–
Set a certificate
PS C:> Set-AdfsSslCertificate -Thumbprint “DC23PB0FC58E63D8CB52654F22E4BE79323KLD3”
This command sets the specified certificate for HTTPS bindings for AD FS.

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Set-AdfsSslCertificate

Get-Command Set-AdfsSslCertificate powershell script command cmdlet adfs
  • Get-AdfsSslCertificate

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *