Import an appliance SSL Certificate.


Import-HPOVSslCertificate [[-Appliance] <String>] [<CommonParameters>]


By default, the HP OneView appliance creates a self-signed SSL Certificate for its WebUI. There might be a desire to trust the certificate, in case the SHA-1 hash becomes invalid (either due to a certificate change or man-in-the-middle attack) and the caller would like to be notified. This cmdlet will assist in retrieving and storing the appliance self-generated SSL Certificate into the current users Trusted Root Certification Authorities store.

Please note that the Subject Alternate Name (SAN) must match that of the Appliance hostname you use to connect to your appliance. If it does not, an SSL conenction failure will ocurr. When creating a CSR on the appliance, make sure to include the additional FQDN and IP address(es) in the Alternative Name field.


-Appliance [<String>]
Used to specify the applinace to connect to, if an existing connection isn't established from the Connect-HPOVMgmt cmdlet.
Aliases None
Required? false
Position? 1
Default value $script:HPOneViewAppliance
Accept pipeline input? false
Accept wildcard characters?    false

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (


None. You cannot pipe objects to this cmdlet.





-------------------------- EXAMPLE 1 -------------------------- 

PS C:\> Import-HPOVSslCertificate -appliance
Import the SSL certificate from the specific appliance.
-------------------------- EXAMPLE 2 -------------------------- 

PS C:\> Connect-HPOVMgmt Administrator MyP@ssword
PS C:\> Import-HPOVSslCertificate 
Import the SSL Certificate from the existing connection provided by the Connect-HPOVMgmt cmdlet.

Last edited Aug 18, 2014 at 8:34 PM by chrislynchhp, version 2