< Back

New-AADIntADFSSelfSignedCertificates

Fri Jan 10, 2020 5:53 pm

NAME New-AADIntADFSSelfSignedCertificates



SYNOPSIS

Creates new self-signed Token Signing and Token Decrypt certificates for ADFSService





SYNTAX

New-AADIntADFSSelfSignedCertificates [[-PfxPassword] <String>] [-Force] [<CommonParameters>]





DESCRIPTION

Disables auto rollover and creates new self-signed Token Signing and Token Decrypt certificates for ADFSService.

Certificates are added to ADFS and the service is restarted. Certificates are also saved to the current directory.





PARAMETERS

-PfxPassword <String>

Password for the Token Signing and Token Decrypt .pfx files. Default is "AADInternals".



Required? false

Position? 1

Default value AADInternals

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>New-AADIntADFSSelfSignedCertificates













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>New-AADIntADFSSelfSignedCertificates -PfxPassword "MyPassword"















RELATED LINKS