Edit

Share via


Set-WebCentralCertProvider

Changes the configuration settings for the central certificate provider.

Syntax

Default (Default)

Set-WebCentralCertProvider
    [-CertStoreLocation <String>]
    [-UserName <String>]
    [-Password <String>]
    [-PrivateKeyPassword <String>]
    [<CommonParameters>]

Description

The Set-WebCentralCertProvider cmdlet changes the configuration settings for the central certificate provider. The settings that you can set include whether the provider is enabled, the location of the centralized certification store, the user name and password, and the private key password.

Examples

Example 1: Set the central certificate store location

PS C:\> Set-WebCentralCertProvider -CertStoreLocation "\\MyCertServer\CertStore"

This command sets the physical location of the central certificate store.

Parameters

-CertStoreLocation

Specifies the physical path to the central certificate store. The path is either a local path such as D:\CertStore, or a UNC path such as \\MyCertServer\CertStore.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Password

Specifies the password for the user account that is used to access the central certificate store.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PrivateKeyPassword

Specifies the password for the private key. If specified, this password is the same for all keys. The password can be $Null.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-UserName

Specifies the name of the user account that is used to access the central certificate store.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

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