NAME

Get-HPOVScmbCertificates

SYNOPSIS

Get State Change Message Bus certificates.

SYNTAX

Get-HPOVScmbCertificates [-Location] <String> [-ConvertToPFx] -Password <SecureString> [<CommonParameters>]
Get-HPOVScmbCertificates [-Location] <String> [<CommonParameters>]

DESCRIPTION

Retrieve and store the certificates necessary to register with the State Change Message Bus. The SCMB only supports a single read-only "account".

PARAMETERS

-Location <String>
Directory to store the SSL certificates. If the directory doesn't exist, it will be created.
Required? true
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters? false

-ConvertToPFx <SwitchParameter>
Aliases [-pfx]
Convert rabbitmq_readonly client certificate to PFX format for .Net consumption.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false

-Password <SecureString>
Password that will be used to encrypt the PFX client certificate.
Required? true
Position? named
Default value <none>
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

SecureString

OUTPUTS

3 files will be created:
  • ca.pem - Appliance Root Certificate Authority
  • cert.pem - Appliance managed rabbitmq_readonly user Public Key
  • privateKey.pem - Appliance managed rabbitmq_readonly user Client Certificate

RELATED LINKS

EXAMPLES

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

PS C:\> $directory = 'C:\scmbcerts'

PS C:\> Get-HPOVScmbCertificates $directory

Get the HP OneView appliance SCMB SSL certificates, and save them in C:\scmbcerts.

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

PS C:\> read-host -AsSecureString | Get-HPOVScmbCertificates C:\scmbcerts -pfx

Prompt for secure password input and pipe the value to Get-HPOVScmbCertificates to convert the cert.pem to PFX format with the pipeline secure password.

Last edited Dec 30, 2013 at 7:29 AM by ChrisLynchHP, version 1