HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
Examples
The following example gets the existing SSL certificate information for
a given alias name.
An example URI is included.
GET https://example.net/rest/certificates/certaliasname1
PUT Replaces the existing SSL certificate with the new certificate for the given certificate alias name
as part of the {id}.
Parameter Attributes Description
force Optional If set to true, the operation completes even if there are
network connectivity issues or resource errors. The default is
false.
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 replaced
Response Description
SSLCertificate Updated SSL certificate details and update
status
Response Codes
REST API Response Codes
Examples
The following example replaces the existing SSL certificate with the
new certificate for
the given certificate alias name 'certaliasname1'. An example URI and
request body are included.
PUT https://example.net/rest/certificates/certaliasname1
{"type":"SSLCertificateDTO",
"status":null,
"base64SSLCertData":"-----BEGIN CERTIFICATE-----...-----END
CERTIFICATE-----",
"aliasName":"certaliasname1",
"verifyTrustChainAndRevocation":false,
"verifyRevocationStatus":false
}
DELETE Deletes the SSL certificate based on the alias name given as part of the {id}.
Parameter Attributes Description
force Optional If set to true, the operation completes even if there are network
connectivity issues or resource errors. The default is false.
Request
Header
Attributes Description