< Back

Export-AADIntADFSEncryptionCertificate

Fri Jan 10, 2020 5:37 pm

NAME Export-AADIntADFSEncryptionCertificate



SYNOPSIS

Exports ADFS token encryption certificate





SYNTAX

Export-AADIntADFSEncryptionCertificate [[-fileName] <String>] [<CommonParameters>]





DESCRIPTION

Exports ADFS encryption certificate from WID configuration database. Must be run on ADFS server

as domain administrator or ADFS service user (requires access to DKM container).

The exported certificate DOES NOT HAVE PASSWORD!





PARAMETERS

-fileName <String>

Filename of the certificate to be exported. Default is ADFSEncryptionCertificate.pfx.



Required? false

Position? 1

Default value ADFSEncryptionCertificate.pfx

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:\\>Export-AADIntADFSEncryptionCertificate













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



PS C:\\>Export-AADIntADFSEncryptionCertificate -fileName myadfs.pfx















RELATED LINKS