Enable-WebCentralCertProvider

Enables a central certificate provider.

Syntax

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.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Password

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters: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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-UserName

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

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False