Get-WebCentralCertProvider

Retrieves the configuration settings of the central certificate provider.

Syntax

Get-WebCentralCertProvider
   [-CertStoreLocation]
   [-UserName]
   [-PrivateKeyPassword]
   [-Enabled]
   [<CommonParameters>]

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.

Examples

Example 1: Retrieve all settings

PS C:\>Get-WebCentralCertProvider
Enabled=True

CertStoreLocation=\\MyCertServer\CertStore

UserName=CertStoreUser

Password=*********

PrivateKeyPassword=

Retrieves all configuration settings of the central certificate provider.

Example 2: Retrieve location of the central certificate store

PS C:\>Get-WebCentralCertProvider -CertStoreLocation
CertStoreLocation=\\MyCertServer\CertStore

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

Optional 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).

Type:SwitchParameter
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.

Type:SwitchParameter
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.

Type:SwitchParameter
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.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False