Appaloft Docsv878ea0ca9d2b5227200e9c2fa399a24afef99f67
Access, Domains And TLS

TLS certificates

Understand certificate readiness, issuing, importing, and renewal.

Certificate readiness describes whether HTTPS is usable. It is separate from application deployment state, generated access readiness, and domain ownership.

A resource can deploy successfully while the certificate is still pending. A ready certificate also does not guarantee the application health check passes.

Certificate readiness should answer:

  • Does Appaloft have certificate material for this hostname?
  • Does the certificate cover the hostname and remain valid?
  • Is the proxy serving this certificate for HTTPS traffic?

Existing flows should cover:

  • Automatic issue or renewal, where the user provides hostname and ownership proof.
  • Imported certificates, where the user provides certificate chain, private key, and metadata.

Imported private keys are secrets. Web, CLI, API, logs, and diagnostics must not echo full key material.

Readiness checks should validate:

  • Certificate chain parses.
  • Private key matches the certificate.
  • Hostname is covered.
  • Certificate is not expired or near expiry.
  • Algorithm and key size meet runtime requirements.

Renewal status should be observable and point to DNS, ownership, or certificate material issues when it fails.

If renewal fails, do not redeploy the app first. Check:

  1. Domain ownership is still valid.
  2. DNS still points to the current proxy entrypoint.
  3. Certificate material is not expired, incomplete, or mismatched.
  4. The proxy reloaded the new certificate.

certificate show returns only safe metadata, status, and attempt history. It does not return certificate PEM, private key, passphrase, or secret refs.

certificate retry is only for retryable provider-issued certificate issue or renewal failures. It creates a new certificate attempt and does not retry domain ownership verification.

certificate revoke stops an active certificate from being used for Appaloft-managed TLS. Provider-issued certificates go through the provider boundary for provider revocation. Imported certificates are revoked locally in Appaloft because Appaloft may not have revocation authority with the external CA.

certificate delete removes only a non-active certificate from visible active lifecycle while retaining necessary audit history. Deleting a domain binding does not automatically revoke or delete certificates, and certificate revoke/delete does not delete the domain binding.

Related pages: Domain ownership and Access troubleshooting.