Partager via


Get-WebCentralCertProvider

Get-WebCentralCertProvider

Retrieves the configuration settings of the central certificate provider.

Syntax

Parameter Set: Default
Get-WebCentralCertProvider [-CertStoreLocation] [-Enabled] [-PrivateKeyPassword] [-UserName] [ <CommonParameters>]

Detailed Description

Retrieves the configuration settings of the central certificate provider. The settings that you can retrieve include: whether the provider is enabled, the location of the centralized certification store, user name, and the private key password.

Parameters

-CertStoreLocation

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?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Enabled

If the central certificate provider is enabled, this parameter returns True; otherwise, it returns False.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PrivateKeyPassword

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?

false

Accept Wildcard Characters?

false

-UserName

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?

false

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: Retrieve all settings

Retrieves all configuration settings of the central certificate provider.

PS C:\> Get-WebCentralCertProvider

Example 2: Retrieve location of the central certificate store

Retrieves the location of the central certificate store from the provider.

PS C:\> Get-WebCentralCertProvider -CertStoreLocation

Clear-WebCentralCertProvider

Disable-WebCentralCertProvider

Get-WebCentralCertProvider

Set-WebCentralCertProvider