Install HPOVApplianceCertificate - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Install-HPOVApplianceCertificate

Install signed private key.

SYNTAX

Install-HPOVApplianceCertificate [-Path] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

After using New-HPOVApplianceCSR to generate a Certificate Signing Request (CSR), this CMDLET will install the CA signed and approved SSL private key to the appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify the HPOneView.Appliance.Connection object or Name property value.

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Path <Object>

Aliases [-PrivateKey, -Certificate] The private key certificate for the appliance. Use Get-Content (GC) to read the source CER file and pass to the cmdlet via pipeline or this parameter.

Aliases PrivateKey, Certificate
Required? true
Position? named
Default value
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)

Input Types

System.String

Certificate file read by Get-Content -Raw

System.IO.FileInfo

Certificate file path

System.Collections.ArrayList

Certificate file read by Get-Content

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task resource object to monitor committing certificate, and deploying HPE SSO certificate update to managed/monitored devices

Examples

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

$Task = Get-Content C:\dir\hpov.cer -Raw | Install-HPOVApplianceCertificate

Read the signed SSL certificate private key and install it on the appliance, and wait for the task to complete.

 -------------------------- EXAMPLE 2 --------------------------

$cert = Get-Content C:\dir\hpov.cer -Raw $TaskToMonitor = Install-HPOVApplianceCertificate -Path $Cert -Async C:\> $TaskToMonitor | Wait-HPOVTaskComplete

Read the signed SSL certificate private key and install it on the appliance, and wait for the task to complete.

Related Links


Top

HPE OneView 4.00 Library

Install-HPOVApplianceCertificate

Install signed private key.

SYNTAX

Install-HPOVApplianceCertificate [-Path] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]

Detailed Description

After using New-HPOVApplianceCSR to generate a Certificate Signing Request (CSR), this CMDLET will install the CA signed and approved SSL private key to the appliance.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify the HPOneView.Appliance.Connection object or Name property value.

Aliases Appliance
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-Async <SwitchParameter>

Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.

Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    False

-Path <Object>

Aliases [-PrivateKey, -Certificate] The private key certificate for the appliance. Use Get-Content (GC) to read the source CER file and pass to the cmdlet via pipeline or this parameter.

Aliases PrivateKey, Certificate
Required? true
Position? named
Default value
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)

Input Types

System.String

Certificate file read by Get-Content -Raw

System.IO.FileInfo

Certificate file path

System.Collections.ArrayList

Certificate file read by Get-Content

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async task resource object to monitor committing certificate, and deploying HPE SSO certificate update to managed/monitored devices

Examples

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

$Task = gc C:\dir\hpov.cer | Install-HPOVApplianceCertificate

Read the signed SSL certificate private key and install it on the appliance, and wait for the task to complete.

 -------------------------- EXAMPLE 2 --------------------------

$cert = GC C:\dir\hpov.cer $TaskToMonitor = Install-HPOVApplianceCertificate -Path $Cert -Async C:\> $TaskToMonitor | Wait-HPOVTaskComplete

Read the signed SSL certificate private key and install it on the appliance, and wait for the task to complete.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️