Edit

Share via


Get-WebCentralCertProvider

Retrieves the configuration settings of the central certificate provider.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Enabled

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UserName

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.