HP OneView REST API Reference

certificates
certificates.html[10/17/2013 10:36:02 AM]
Response Codes
REST API Response Codes
Examples
The following example imports the given list of SSL certificates into
the appliance.
An example URI and request body are included.
POST https://example.net/rest/certificates?multiResource=true
[{"type":"SSLCertificateDTO",
"status":null,
"base64SSLCertData":"-----BEGIN CERTIFICATE-----...-----END
CERTIFICATE-----",
"aliasName":"localhostone",
"verifyTrustChainAndRevocation":false,
"verifyRevocationStatus":false
},
{"type":"SSLCertificateDTO",
"status":null,
"base64SSLCertData":"-----BEGIN CERTIFICATE-----...-----END
CERTIFICATE-----",
"aliasName":"localhosttwo",
"verifyTrustChainAndRevocation":false,
"verifyRevocationStatus":false
}]
PUT Replaces the list of the existing SSL certificates with the new certificates.
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 List of SSL certificates to be updated
Response Description
SSLCertificate List of the SSL certificates updated with
update status
Response Codes
REST API Response Codes
Examples
The following example replaces a list of existing SSL certificates with
new certificates.
An example URI and request body are included.
PUT https://example.net/rest/certificates?multiResource=true