-
Notifications
You must be signed in to change notification settings - Fork 52
Install HPOVApplianceCertificate
Install signed private key.
Install-HPOVApplianceCertificate [-Path] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-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)
System.String
Certificate file read by Get-Content -Raw
System.IO.FileInfo
Certificate file path
System.Collections.ArrayList
Certificate file read by Get-Content
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
-------------------------- 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.
Install signed private key.
Install-HPOVApplianceCertificate [-Path] <Object>[ [-Async] <SwitchParameter>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-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)
System.String
Certificate file read by Get-Content -Raw
System.IO.FileInfo
Certificate file path
System.Collections.ArrayList
Certificate file read by Get-Content
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
-------------------------- 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.