Set-WebCentralCertProvider

Set-WebCentralCertProvider

Sets the configuration settings for the central certificate provider.

Syntax

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

Detailed Description

Sets 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, user name and password, and the private key password.

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, \\MyCertServer\CertStore).

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Password<String>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-PrivateKeyPassword<String>

Password for the private key. 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?

false

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: Set the central certificate store location

Sets the physical location of the central certificate store.

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

Clear-WebCentralCertProvider

Disable-WebCentralCertProvider

Get-WebCentralCertProvider

Set-WebCentralCertProviderCredential