dnz ca matches Proxy → Certificates → Private CA in the dashboard: DNZ’s own certificate
authority for internal names. For what it does, see Private certificate authority.
Permissions
- Making, changing, exporting and importing the CA, and downloading a certificate with its private key, are for superadmins.
- Issuing, renewing, revoking and downloading certificates (without the key) need Manage proxies
(
proxy.manage). - A DNZ secondary following a primary refuses changes: make and change the CA on the primary.
The CA
init and edit take the same flags; a field left out keeps its value (for init, the suggested one):
A new issuer, key type, root validity, intermediate or name constraints make a new version:
edit
says so and asks first. Certificates are then issued again from it, and devices need the new root. See
Changing the CA: versions.
Export and import
The root devices install
Certificates
listshows the certificates the CA signed (routes’, issued by hand, DNZ’s own), a page at a time.--searchis part of a name, a person’s name or e-mail, or a serial;--stateisvalid,failed,pendingorrevoked.issuetakes host names (wildcards like*.lab.internal) and IP addresses, the first being the main one.--clientmakes a client certificate (mTLS) for a person or device: give--cnand/or--email.--usesisserver,clientorboth. The subject flags (--cn,--org,--unit,--country,--state,--locality,--email) default to the CA’s defaults for new certificates.revoke --reasonisunspecified(default),key_compromise,superseded,cessation_of_operationoraffiliation_changed.
ACME
The CA’s ACME server: certbot, lego, Caddy, Traefik and cert-manager ask it for certificates themselves. Off by default. Settings, keys and allow lists are for superadmins; proxy managers read.dnz ca list lists what they got with the rest (FOR: acme); dnz ca revoke works on it. DNZ holds no key for
those, so reissue and download --key are refused.
Where the CA is used
private-ca. Internal names on the auto resolver get a
certificate from it by themselves. See Certificates for DNZ Proxy
and Encrypted DNS.