Returning the Root CA Certificate

Returning the Root CA Certificate
Returning the Root CA Certificate

This returns the public key of the Root CA Certificate

Request
URI
GET
https://{opsmanager-installation}/api/v0/security/root_ca_certificate
COPY
Responses
200

0K

{
    "root_ca_certificate_pem": "string"
}
string
root_ca_certificate_pem
Optional

root_ca_certificate_pem


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/security/root_ca_certificate