Get TLS certificate

GET /platform/configuration/security/tls/{service_name}

Retrieves a certificate in the TLS certificate chain.

Path parameters

  • service_name string Required

    The service certificate chain to read.

    Values are adminconsole, proxy, ui, or internalca.

Responses

  • 200 application/json

    The TLS certificate chain, with private key omitted, for the given service and whether it was user specified

    Hide response attributes Show response attributes object
    • user_supplied boolean Required

      Was this certificate chain user supplied or automatically generated?

    • chain array[string] Required

      The list of PEM encoded X509 certificates that make up the certificate chain

    • Details on the validity and lifetime of the certification chain

      Hide chain_status attributes Show chain_status attributes object
      • expiration_date string(date-time) Required

        When this chain is going to expire due any of its certificates expiring (ISO format in UTC)

      • Information on the first certificate expiring in the chain

    • Whether or not this certificate can be updated using the API

GET /platform/configuration/security/tls/{service_name}
curl \
 --request GET 'https://{{hostname}}/api/v1/platform/configuration/security/tls/{service_name}' \
 --user "username:password"