HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
The following example deletes the list of SSL certificates based on the
alias names 'localhost'
and 'testcert' specified as part of filter criteria. An example URI is
included.
DELETE https://example.net/rest/certificates?
filter=localhost&filter=testcert
URI: /rest/certificates/ca
Method API
GET Retrieves the internal CA's root certificate
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
String The Base-64 encoded CA certificate
Response Codes
REST API Response Codes
Examples
The following example retrieves the internal CA's root certificate.
An example URI is included.
GET https://example.net/rest/certificates/ca
URI: /rest/certificates/ca/crl
Method API
GET Retrieves the contents of the CRL file maintained by the internal CA in Base-64 encoded format
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
String The contents of the CRL file in Base-64 encoded format
Response Codes
REST API Response Codes
Examples
The following example retrieves the contents of the CRL file maintained
by