Reset-FasKeyConfig
Synopsis
Resets the key configuration for the given certificate type to the default settings
Syntax
Reset-FasKeyConfig -CertificateType <String> [-Address <String>] [-UserName <String>] [-Password <String>]
[<CommonParameters>]
<!--NeedCopy-->
Description
Resets the key configuration to the default settings.
The default key configuration uses ‘Microsoft Software Key Storage Provider’ with non-exportable RSA keys of length 2048 bits.
Note: Existing user and RA certificates are not affected by changes to the key configuration until they are renewed.
Note: Pre-created keys in the key pool which do not conform to the new configuration are destroyed.
Examples
Example 1
PS C:\> Reset-FasKeyConfig -Address localhost -CertificateType user
<!--NeedCopy-->
Resets the key configuration for user certificates to the defaults
Example 2
PS C:\> Reset-FasKeyConfig -Address localhost -CertificateType ra
<!--NeedCopy-->
Resets the key configuration for the ra certificate to the defaults
Parameters
-CertificateType
The type of certificate to reset the key configuration for.
Valid options are ‘ra’ or ‘user’.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
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: None
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: None
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: None
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.