Skip to main content

Get the TLS certificate of a domain

get/v1/domains/{id}/tls_certificate

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    certificate_pemstring

    Certificate

    Example: -----BEGIN CERTIFICATE-----
    idinteger<int64>

    Certificate ID

    Example: 42
    not_afterstring<date-time>

    Validity end date

    not_beforestring<date-time>

    Validity start date

    private_key_pemstring

    Private key

    Example: -----BEGIN PRIVATE KEY-----
    serial_numberstring

    Description

    Example: 04:9F:3A:2B:1C:8E
    subject_alternative_namesstring[]

    AltNames (alternative names): domains and subdomains

    subject_common_namestring

    CN (common name) of the domain

    Example: demo-app.tuna.am