Modifier

Partager via


Set-WebCentralCertProvider

Changes the configuration settings for the central certificate provider.

Syntax

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

Description

The Set-WebCentralCertProvider cmdlet changes 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, the user name and password, and the private key password.

Examples

Example 1: Set the central certificate store location

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

This command sets the physical location of the central certificate store.

Parameters

-CertStoreLocation

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

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

-Password

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

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

-PrivateKeyPassword

Specifies the password for the private key. If specified, this password is the same for all keys. The password can be $Null.

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

-UserName

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

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