HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
name is default, empty or null, then a client
certificate will be
created for a default RabbitMq user name.
Response Description
void HP recommends polling for the completion of the task and
then,to
get the client certificate and key, invoking
the following
resource:
https://{<i>appl</i>}/rest/certificates/client/rabbitmq/
keypair/{<i>aliasName</i>}
Response Codes
REST API Response Codes
Examples
Example 1: To generate a CA signed client certificate, signed by internal CA.
POST https://example.net/rest/certificates/client/rabbitmq
{"type":"RabbitMqClientCert",
"commonName": "default"}
Example 2: To generate a self signed client certificate.
POST https://example.net/rest/certificates/client/rabbitmq
{"type":"RabbitMqClientCert",
"commonName": "any",
"signedCert":"false"}
URI: /rest/certificates/client/rabbitmq/keypair/{aliasName}
Method API
GET Retrieves the base-64 encoded certificate and key associated with the RabbitMq user
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
RabbitMqClientCert The certificate data object containing the Base-64
encoded
certificate and key
Response Codes
REST API Response Codes
Examples
The following example retrieves the base-64 encoded certificate and key