Activate A Root Certificate Authority
Activate a Root Certificate Authority
Activate specified root certificate authority and de-activate all others.
This is used during Step 2 of the Certificate Authority rotation procedure. See Rotating CAs and Leaf Certificates for more details.
Request
URI
POST
https://{opsmanager-installation}/api/v0/certificate_authorities/{certificate_authority_guid}/activate
COPY
Path Parameters
string
certificate_authority_guid
Required
The guid of the certificate authority
Responses
200
OK
Returns
UpdatedCertificateRotationStatus
of type(s)
application/json
{
"certificates": {
"updated": [
{
"location": "string",
"product_guid": "string",
"property_reference": "string",
"variable_path": "string",
"reason": "string"
}
],
"excluded": [
{
"location": "string",
"product_guid": "string",
"property_reference": "string",
"variable_path": "string",
"reason": "string"
}
],
"update_failed": [
{
"location": "string",
"product_guid": "string",
"property_reference": "string",
"variable_path": "string",
"reason": "string"
}
]
}
}
object
certificates
Optional
certificates
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"
]
}
}
404
Certificate authority not found
Returns
CommonErrors
of type(s)
application/json
{
"errors": [
"string"
]
}
array of
string
errors
Required
errors
422
Unprocessable Entity
Returns
SafetyViolations
of type(s)
application/json
{
"error": "string",
"safety_violations": [
{
"violation": "string",
"certificate_names": [
"string"
]
}
]
}
string
error
Optional
error
array of
safety_violations
safety_violations
Optional
safety_violations
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/api/v0/certificate_authorities/{certificate_authority_guid}/activate