Confirm-EsxiCertificateInstalled¶
Synopsis¶
Verifies if the provided certificate is already on the ESX host.
Syntax¶
Confirm-EsxiCertificateInstalled [-server] <String> [-user] <String> [-pass] <String> [-esxiFqdn] <String> [-signedCertificate] <String> [<CommonParameters>]
Description¶
The Confirm-EsxiCertificateInstalled
cmdlet will get the thumbprint from the provided signed certificate and matches it with the certificate thumbprint from ESX host.
You need to pass in the complete path for the certificate file.
Returns true
if certificate is already installed, else returns false
.
Examples¶
Example 1¶
Confirm-EsxiCertificateInstalled -server [sddc_manager_fqdn] -user [admin_username] -pass [admin_password] -esxiFqdn [esx_host_fqdn] -signedCertificate [full_certificate_file_path]
This example checks the thumbprint of the provided signed certificate with the thumbprint on ESX host.
Parameters¶
-server¶
The fully qualified domain name of the SDDC Manager instance.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-user¶
The username to authenticate to the SDDC Manager instance.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-pass¶
The password to authenticate to the SDDC Manager instance.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-esxiFqdn¶
The fully qualified domain name of the ESX host to verify the certificate thumbprint against.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-signedCertificate¶
The complete path for the signed certificate file.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.