HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
"initials":"",
"dnQualifier":"",
"unstructuredName":"123",
"challengePassword":"12345678"
}
URI: /rest/certificates/https/certificaterequest
Method API
POST Creates a Certificate Signing Request (CSR) based on input certificate data object and returns the
data object that contains information about the newly created CSR. X-API-Version in the HTTP
header should be at least 2.
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"
Request Body Attributes Description
CertificateV2 Required
Response Description
CertificateDataV2 Certificate object that contains user generated
SSL certificate
content
Response Codes
REST API Response Codes
Examples
The following example generates a new certificate signing request.
An example URI and request body are included.
POST https://example.net/rest/certificates/https/certificaterequest
{
"type":"CertificateDtoV2",
"commonName":"example.net",
"issuer":"",
"validFrom":"",
"validUntil":"",
"expiresInDays":"",
"serialNumber":"",
"version":"",
"md5Fingerprint":"",
"sha1Fingerprint":"",
"country":"IN",
"state":"KAR",
"locality":"Bangalore",
"organization":"HP",
"organizationalUnit":"",
"alternativeName":"",
"contactPerson":"",
"email":"",
"surname":"",