Syntax
Add-TrustAuthorityKeyProviderServerCertificate [-KeyProvider] <TrustAuthorityKeyProvider> -Certificate <X509Certificate2[]> [-Server <VIServer[]>] [-TrustAuthorityCluster <TrustAuthorityCluster>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet adds the certificate from the Trust Authority key provider server to be trusted by the Trust Authority key provider.Parameters
Return Type
VMware.VimAutomation.Security.Types.V1.TrustedInfrastructure.TrustAuthorityKeyProviderServerCertificateNotes
Examples
-------------------------- Example 1 --------------------------
$kps = Get-TrustAuthorityKeyProviderServer -KeyProvider myProvider | select -First 1 $serverCertificate = Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kps Add-TrustAuthorityKeyProviderServerCertificate -ServerCertificate $serverCertificate
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 --------------------------
$kps = Get-TrustAuthorityKeyProviderServer -KeyProvider myProvider | select -First 1 $serverCertificate = Get-TrustAuthorityKeyProviderServerCertificate -KeyProviderServer $kps Add-TrustAuthorityKeyProviderServerCertificate -KeyProvider myProvider -Certificate $serverCertificate.Certificate
Adds the certificate which you want to retrieve from the $serverCertificate certificate to be trusted by the Trust Authority key provider myProvider.