API referenceSections

DatabaseTLS

DatabaseTLS object
  • server_id string required
  • tenant_id string required
  • source string required
    Allowed values: "panel_ca" "panel_certificate"
  • hostnames array<string> required
  • require_remote boolean required
  • state string required

    preparing, applying, active, failed; empty before it is configured

  • job_id string required
  • fingerprint string required

    SHA-256 of the served certificate

  • not_after string (date-time) | null required
  • applied_engines array<string> required
  • error_code string required
  • attempt integer required
  • updated_at string (date-time) required
  • configured boolean required
  • ca_pem string required

    The panel's database CA, for clients to verify against

  • panel_cert_available boolean required

Used by

GET/api/v1/tenants/{tid}/servers/{id}/database-tlsTLS of the server's database engines for remote connections; needs server.manage (ADR 0181)
PUT/api/v1/tenants/{tid}/servers/{id}/database-tlsChoose the certificate (the panel's database CA, or on the panel's own machine the panel's certificate) and whether remote users must use TLS; issues it (ADR 0181)
POST/api/v1/tenants/{tid}/servers/{id}/database-tls/renewIssue the database certificate again now (ADR 0181)