Getting Information About Certificates from Products

Getting Information About Certificates from Products

This returns information about all of the RSA and CA certificates for the deployed BOSH Director and the other deployed products.

This includes any product properties of type rsa_cert_credentials or ca_certificate as well as credhub-generated certificates for BOSH DNS.

The location will indicate where the certificate was generated (either ops_manager or credhub).

Certificate authorities tracked by Ops Manager are returned in the list and are marked as "is_ca": true.

Learn more about certificates managed by Ops Manager by visiting the documentation for Certificates and credentials in Tanzu Operations Manager

Request
URI
GET
https://{opsmanager-installation}//api/v0/deployed/certificates
COPY
Query Parameters
string
expires_within
Optional

expires_within

Possible values are : d, w, m, y,
boolean
show_excluded_from_rotation_only
Optional

show_excluded_from_rotation_only

Possible values are : true, false,

Responses
200

OK

Returns Certificates of type(s) application/json
{
    "certificates": [
        {
            "configurable": false,
            "is_ca": false,
            "property_reference": "string",
            "property_type": "string",
            "product_guid": "string",
            "location": "string",
            "variable_path": "string",
            "issuer": "string",
            "valid_from": "string",
            "valid_until": "string"
        }
    ]
}
certificates
Optional

certificates