Edit

Share via


Enable-WebCentralCertProvider

Enables a central certificate provider.

Syntax

Default (Default)

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

Description

The Enable-WebCentralCertProvider cmdlet enables a central certificate provider with the specified location, private key password, and credentials of the account to access the certificate store.

Examples

Example 1: Enable a central certificate store

PS C:\> Enable-WebCentralCertProvider -CertStoreLocation "\\MyCertServer\CertStore" -UserName "CertStoreUser" -Password "Pa$$w0rd"

This command enables a new 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 \\CertStoreServer\CertStore.

Parameter properties

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

Parameter sets

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

-Password

Specifies the password 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:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PrivateKeyPassword

Specifies a password for the private key if one exists. 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:True
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.