New-FasAuthorizationCertificate

SYNOPSIS

Request a Registration Authority (or Enrollment Agent) certificate for a Federated Authentication Service.

SYNTAX

New-FasAuthorizationCertificate -CertificateAuthority <String> -CertificateTemplate <String>
 [-AuthorizationTemplate <String>] [-Address <String>] [-UserName <String>] [-Password <String>]
 [<CommonParameters>]
<!--NeedCopy-->

DESCRIPTION

Request a Registration Authority (or Enrollment Agent) certificate for a Federated Authentication Service.

The Federated Authentication Service works by dynamically issuing user logon certificates from a Microsoft Certificate Authority. To do this it must first be granted an “Authorization Certificate” (often called an RA or Enrollement Agent certificate) to authenticate to the Certificate Authority.

This command generates a Certifiate Request and sends it to the specified Certificate Authority to request an Authorization certificate.

EXAMPLES

EXAMPLE 1

PS C:\>

C:\PS> $CitrixFasAddress=(Get-FasServer)[0].Address
C:\PS> $DefaultCA=(Get-FasMsCertificateAuthority -Default).Address
C:\PS> New-FasAuthorizationCertificate -CertificateAuthority $DefaultCA -CertificateTemplate "Citrix_RegistrationAuthority" -AuthorizationTemplate "Citrix_RegistrationAuthority_ManualAuthorization"
<!--NeedCopy-->

Description


This code generates a certificate request for “Citrix_RegistrationAuthority_ManualAuthorization” and sends it to the default CA in the domain. Once access is approved by the CA Administrator, a second request for the actual “Citrix_RegistrationAuthority” certificate will be issued.

PARAMETERS

-CertificateAuthority

Specify the Address of the Certificate Authority to contact (see Get-FasMSCertificateAuthority)

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: (required)
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-CertificateTemplate

Specify the name of the Certificate Template to use when generating the Registration Authority certificate (e.g. “Citrix_RegistrationAuthority”).

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: (required)
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-AuthorizationTemplate

Specify the name of the “Requires CA Administrator Approval” Certificate Template (e.g. “Citrix_RegistrationAuthority_ManualAuthorization”).

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: <CertificateTemplate>_ManualAuthorization
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-Address

Address of FAS Server (or $NULL to use $CitrixFasAddress)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $CitrixFasAddress
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-UserName

User name to use for authentication to FAS server ($NULL for current user account)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $NULL
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

-Password

Password for authentication to FAS server ($NULL for current user account)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $NULL
Accept pipeline input: False
Accept wildcard characters: False
<!--NeedCopy-->

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Variable, based on property name.

This cmdlet does accept input from the pipeline but only by property name.

OUTPUTS

void

This cmdlet returns information about the certificate request.

NOTES

New-FasAuthorizationCertificateRequest

Get-FasAuthorizationCertificate

Remove-FasAuthorizationCertificate

Get-FasMsTemplate

Get-FasMsCertificateAuthority

New-FasAuthorizationCertificate