Add-TrustAuthorityKeyProviderServerCertificate
This cmdlet adds the certificate from the Trust Authority key provider server to be trusted by the Trust Authority key provider.
Syntax
-KeyProvider <TrustAuthorityKeyProvider>
[-Server <VIServer[]>]
[-TrustAuthorityCluster <TrustAuthorityCluster>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
X509Certificate2[] | named |
|
Specifies the certificate to be trusted by the specified Trust Authority key provider. | required |
|
TrustAuthorityKeyProvider | named |
|
Specifies the Trust Authority key provider to trust the specified certificate. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. | optional |
|
TrustAuthorityCluster | named |
|
Specifies the Trust Authority cluster where the Trust Authority key provider resides. |
-KeyProvider <TrustAuthorityKeyProvider>
[-Server <VIServer[]>]
[-TrustAuthorityCluster <TrustAuthorityCluster>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | named |
|
Specifies a file that stores the X509Certificate2 data which you want to be trusted by the Trust Authority key provider. | required |
|
TrustAuthorityKeyProvider | named |
|
Specifies the Trust Authority key provider to trust the specified certificate. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. | optional |
|
TrustAuthorityCluster | named |
|
Specifies the Trust Authority cluster where the Trust Authority key provider resides. |
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
TrustAuthorityKeyProviderServerCertificate[] | named |
|
Specifies the Trust Authority key provider server certificate that you can trust. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Output
Examples
Example 1
Adds the $serverCertificate certificate which you can retrieve from the first Trust Authority key Provider server in the Trust Authority key provider named myProvider.
Example 2
Adds the certificate which you want to retrieve from the $serverCertificate certificate to be trusted by the Trust Authority key provider myProvider.
Related Commands
TrustAuthorityAttestationService
TrustAuthorityCluster
TrustAuthorityKeyProvider
TrustAuthorityKeyProviderClientCertificate
TrustAuthorityKeyProviderClientCertificateCSR
TrustAuthorityKeyProviderServer
TrustAuthorityKeyProviderServerCertificate
TrustAuthorityKeyProviderService
TrustAuthorityPrincipal
TrustAuthorityServicesInfo
TrustAuthorityServicesStatus
TrustAuthorityTpm2AttestationSettings
TrustAuthorityTpm2CACertificate
TrustAuthorityTpm2EndorsementKey