HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
"givenName":"",
"initials":"",
"dnQualifier":"",
"unstructuredName":"123",
"challengePassword":"12345678"
}
PUT Imports or accepts a signed certificate based on input certificate data . This is an asynchronous
API. It returns the TaskResourceV2 data object containing information about the task to be
monitored for this purpose. 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
CertificateDataV2 Required Certificate data to be used as input
configuration for
the certificate
Response Description
TaskResourceV2 Reference to the task object to be monitored
for completion
status
Response Codes
REST API Response Codes
Examples
The following example modifies an existing certificate signing request.
An example URI and request body are included.
PUT https://example.net/rest/certificates/https/certificaterequest
{
"type":"CertificateDataV2",
"base64Data":"-----BEGIN CERTIFICATE REQUEST-----\n...\n-----END
CERTIFICATE REQUEST-----"
}
URI: /rest/certificates/validator
Method API
POST Checks if the input certificate is X509 compliant and if the input is an X509 certificate chain(in
PKCS7 format) it checks for validity of the certificates in the chain with respect to authority
signature verifications, time and revocation status.
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
SSLCertificate Required SSL certificate to be verified