Enable-WebCentralCertProvider
Enables a central certificate provider.
Syntax
Enable-WebCentralCertProvider
-CertStoreLocation <String>
-UserName <String>
-Password <String>
[-PrivateKeyPassword <String>]
[<CommonParameters>]
Description
The Enable-WebCentralCertProvider cmdlet enables a central certificate provider with the specified location, private key password, and credentials of the account to access the certificate store.
Examples
Example 1: Enable a central certificate store
PS C:\> Enable-WebCentralCertProvider -CertStoreLocation "\\MyCertServer\CertStore" -UserName "CertStoreUser" -Password "Pa$$w0rd"
This command enables a new 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 \\CertStoreServer\CertStore.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Password
Specifies the password of the user account that is used to access the central certificate store.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PrivateKeyPassword
Specifies a password for the private key if one exists. 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: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈