PanelCertificate
PanelCertificate objecthostnamestring requiredThe panel's own name (ADR 0064)
modestring requiredAllowed values:"acme""upload"servingstring requiredWhat browsers get for the panel's name now
Allowed values:"self_signed""acme""upload"statestring requiredAllowed values:"none""issuing""active""failed"error_codestring requirednot_afterstring (date-time) | null requiredissuerstring requiredtrustedboolean requiredThe chain verifies against the system's roots
methodstring requiredHow the CA's check was answered: iis or standalone
last_attemptstring (date-time) | null requirednext_attemptstring (date-time) | null requiredacme_availableboolean requiredAn ACME certificate authority is configured
expires_soonboolean requiredLess than 21 days left
previous_hostnamestring optionalThe name before a rename, still served with its own certificate until previous_not_after (ADR 0196)
previous_not_afterstring (date-time) optional
Used by
| GET | /api/v1/tenants/{tid}/panel-certificate | The panel's own certificate (ADR 0064); provider administrators on the root tenant only |
| PUT | /api/v1/tenants/{tid}/panel-certificate | Set the panel's name; in ACME mode a certificate for it is issued at once; audited |
| POST | /api/v1/tenants/{tid}/panel-certificate/issue 202 | Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited |
| POST | /api/v1/tenants/{tid}/panel-certificate/upload | Use an uploaded certificate: a PFX (base64) with its password, or the chain and key as PEM. It must cover the panel's name; audited |