Getting the SSL Certificate
Getting the SSL Certificate
Get the current custom SSL certificate for OpsManager.
Request
URI
GET
https://{opsmanager-installation}/api/v0/settings/ssl_certificate
COPY
Responses
200
OK
Returns
SSLCertificateGet
of type(s)
application/json
{
"ssl_certificate": {
"certificate": "string"
}
}
ssl_certificate
Optional
ssl_certificate
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/settings/ssl_certificate
Custom Ssl Certificate Settings Operations
DELETE
Deleting the SSL Certificate
GET
Getting the SSL Certificate
PUT
Updating the SSL Certificate