Skip to content

Import HPOVSslCertificate

Chris Lynch edited this page Jun 25, 2016 · 40 revisions

HP OneView 200 Library

NAME

Import-HPOVSslCertificate

SYNOPSIS

Import an appliance SSL Certificate.

SYNTAX

 Import-HPOVSslCertificate [[-ApplianceConnection] <Object>]  [<CommonParameters>]

DESCRIPTION

By default, the HPE 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.

PARAMETERS

-ApplianceConnection [<Object>]

Aliases [-Appliance] 

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectSessions} | ? Default

Aliases None
Required? false
Position? 1
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByValue)
Accept wildcard characters?    false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

None. You cannot pipe objects to this Cmdlet.

OUTPUTS

None.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> $Connection = Connect-HPOVMgmt Myappliance.domain.com Administrator MyP@ssword
PS C:\> Import-HPOVSslCertificate -ApplianceConnection $Connection


Import the SSL certificate from the specific appliance.

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Connect-HPOVMgmt Myappliance.domain.com Administrator MyP@ssword
PS C:\> Connect-HPOVMgmt Myappliance2.domain.com Administrator MyP@ssword
PS C:\> Import-HPOVSslCertificate 


Import the SSL Certificate from all connected sessions.


HP OneView 120 Library

NAME

Import-HPOVSslCertificate

SYNOPSIS

Import an appliance SSL Certificate.

SYNTAX

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

DESCRIPTION

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.

PARAMETERS

-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

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

None.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Import-HPOVSslCertificate -appliance hpov.contoso.com

Import the SSL certificate from the specific appliance.

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Connect-HPOVMgmt hpov.contoso.com Administrator MyP@ssword
PS C:\> Import-HPOVSslCertificate 


Import the SSL Certificate from the existing connection provided by the Connect-HPOVMgmt cmdlet.


HP OneView 110 Library

NAME

Import-HPOVSslCertificate

SYNOPSIS

Import an appliance SSL Certificate.

SYNTAX

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

DESCRIPTION

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.

PARAMETERS

-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

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

None.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Import-HPOVSslCertificate -appliance hpov.contoso.com

Import the SSL certificate from the specific appliance.

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Connect-HPOVMgmt hpov.contoso.com Administrator MyP@ssword
PS C:\> Import-HPOVSslCertificate 


Import the SSL Certificate from the existing connection provided by the Connect-HPOVMgmt cmdlet.


Wiki Table of Contents

Clone this wiki locally