Generate A Root Certificate Authority

Generate A Root Certificate Authority

Generates an additional root certificate authority.

It will be marked as inactive initially.

This is used during Step 1 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/generate
COPY
Responses
200

OK

Returns RegeneratedCertificateAuthoritiesRotationStatus of type(s) application/json
{
    "guid": "string",
    "issuer": "string",
    "created_on": "string",
    "expires_on": "string",
    "active": false,
    "cert_pem": "string",
    "certificates": {
        "regenerated": [
            {
                "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"
            }
        ],
        "regenerate_failed": [
            {
                "location": "string",
                "product_guid": "string",
                "property_reference": "string",
                "variable_path": "string",
                "reason": "string"
            }
        ]
    }
}
string
guid
Optional

guid

string
issuer
Optional

issuer

string
created_on
Optional

created_on

string
expires_on
Optional

expires_on

boolean
active
Optional

active

string
cert_pem
Optional

cert_pem

object
certificates
Optional

certificates


422

Unprocessable Entity

Returns SafetyViolations of type(s) application/json
{
    "error": "string",
    "safety_violations": [
        {
            "violation": "string",
            "certificate_names": [
                "string"
            ],
            "migitation": "string"
        }
    ]
}
string
error
Optional

error

array of safety_violations
safety_violations
Optional

safety_violations