OPNexusdocs

Certificates and ACME

Certificates shows live the certificates of all firewalls (expiry, status) and manages the trust store as well as ACME issuance. Everything is modelled per host, because certificate and CA UUIDs are host-local; there is no multi-host push. The target host is fixed after the first push (certificate, ACME account and ACME request): for a different host you delete the entry and create it anew. An ACME account that certificate requests use cannot be moved to another host beforehand either.

Trust store (certificates and CAs): create (import, issue internally, reissue), edit, push, delete. This is a single, immediately effective step without a service restart and without lockout risk. The certificate of the firewall's web interface cannot be switched via the API, and therefore not by accident either. An imported private key exists only as a file in a dedicated volume. OPNsense does not allow deleting a certificate that is still in use; OPNexus passes the message through.

ACME / Let's Encrypt (plugin os-acme-client on the firewall): create and push accounts and certificate requests. Creating, changing and pushing are pure configuration. Two actions really contact the certificate authority over the internet, count against its rate limits and are therefore behind a two-step warning: Register (account) and Sign (certificate).

  • Signing runs asynchronously. The message "triggered" is not a success. You fetch the result with Status.
  • Use the staging CA (letsencrypt_test) for first attempts.
  • Renewal interval counts days since the last issuance, not days before expiry.
  • You set up DNS providers and validation methods in OPNsense itself; OPNexus references them via the UUID. OPNsense handles automatic renewal, OPNexus offers the manual immediate trigger.
  • The EAB HMAC key of an ACME account exists only as a file in a dedicated volume.