API referenceSections

PanelCertificate

PanelCertificate object
  • hostname string required

    The panel's own name (ADR 0064)

  • mode string required
    Allowed values: "acme" "upload"
  • serving string required

    What browsers get for the panel's name now

    Allowed values: "self_signed" "acme" "upload"
  • state string required
    Allowed values: "none" "issuing" "active" "failed"
  • error_code string required
  • not_after string (date-time) | null required
  • issuer string required
  • trusted boolean required

    The chain verifies against the system's roots

  • method string required

    How the CA's check was answered: iis or standalone

  • last_attempt string (date-time) | null required
  • next_attempt string (date-time) | null required
  • acme_available boolean required

    An ACME certificate authority is configured

  • expires_soon boolean required

    Less than 21 days left

  • previous_hostname string optional

    The name before a rename, still served with its own certificate until previous_not_after (ADR 0196)

  • previous_not_after string (date-time) optional

Used by

GET/api/v1/tenants/{tid}/panel-certificateThe panel's own certificate (ADR 0064); provider administrators on the root tenant only
PUT/api/v1/tenants/{tid}/panel-certificateSet the panel's name; in ACME mode a certificate for it is issued at once; audited
POST/api/v1/tenants/{tid}/panel-certificate/issue 202Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited
POST/api/v1/tenants/{tid}/panel-certificate/uploadUse an uploaded certificate: a PFX (base64) with its password, or the chain and key as PEM. It must cover the panel's name; audited