Enable-WebCentralCertProvider

Enable-WebCentralCertProvider

Enables the specified central certificate provider.

Syntax

Parameter Set: Default
Enable-WebCentralCertProvider -CertStoreLocation <String> -Password <String> -UserName <String> [-PrivateKeyPassword <String> ] [ <CommonParameters>]

Detailed Description

Enables a central certificate provider, given its location, private key password, and the credentials of the account that accesses the certificate store.

Parameters

-CertStoreLocation<String>

Physical path to the central certificate store. The path is either a local path (for example, d:\CertStore) or a UNC path (for example, \\CertStoreServer\CertStore).

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Password<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-PrivateKeyPassword<String>

Password for the private key if one exists. If provided, this password is the same for all keys. The password can be $null.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-UserName<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Enable a central certificate store

Enables a new central certificate store.

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