Citrix StoreFront SDK PowerShell Modules

New-STFSamlIdPCertificate

Create a new Service Provider signing certificate to be used by a SAML Identity Provider.

Syntax

New-STFSamlIdPCertificate [-SubjectName] <String> [-FilePath] <String> [[-Password] <String>] [<CommonParameters>]
<!--NeedCopy-->

Detailed Description

Create a new Service Provider signing certificate that is suitable to be used by a SAML Identity Provider.

Parameters

Name Description Required? Pipeline Input Default Value
SubjectName The certificate subject name. true true (ByValue)  
FilePath The file path of the exported certificate. true true (ByValue)  
Password The optional password to use to protect the private key. false true (ByValue)  

Input Type

System.String

Parameter SubjectName: The .NET System.String reference type

System.String

Parameter FilePath: The .NET System.String reference type

System.String

Parameter Password: The .NET System.String reference type

Return Values

X509Certificate2

The .NET System.Security.Cryptography.X509Certificates.X509Certificate2 reference type

Examples

EXAMPLE 1 Create a new Service Provider signing certificate to be used by a SAML Identity Provider.

$exported = New-STFSamlIdPCertificate -SubjectName 'Service Provider Signing' -Path 'c:\temp\exported.pfx' -Password 'citrix'
<!--NeedCopy-->

REMARKS

Create a new Service Provider signing certificate, with subject name ‘Service Provider Signing’, to be used by a SAML Identity Provider in the specified authentication service, exported to the specified path with the specified password protecting the private key.

New-STFSamlIdPCertificate