Get-WebCentralCertProvider

Retrieves the configuration settings of the central certificate provider.

Syntax

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

Description

The Get-WebCentralCertProvider cmdlet 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, the 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=

This command retrieves all configuration settings of the central certificate provider.

Example 2: Retrieve the location of the central certificate storethe

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

This command retrieves the location of the central certificate store from the provider.

Parameters

-CertStoreLocation

Indicates that this cmdlet gets 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:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Indicates whether the central certificate provider is enabled, which returns $True; otherwise, this parameter returns $False.

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

-PrivateKeyPassword

Indicates the password for the private key if one exists. If specified, this password is the same for all keys. The password can be $Null.

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

-UserName

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

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