Certificates
Zone certificates are TLS certificates for names in your zones, served by Dinio’s edge. See DNS hosting.
dinio cert add --zone example.com fullchain.pem privkey.pemdinio cert list --zone example.comdinio cert show www.example.comdinio cert renew www.example.com fullchain.pem privkey.pemdinio cert rm www.example.comCERT is the certificate’s uuid, or a host name it covers (www.example.com, also through a
wildcard).
| Command | |
|---|---|
cert list [--zone ZONE] |
Certificates of your zones: names, valid until, source, zone, uuid. |
cert show CERT |
One certificate: names, subject, issuer, validity, key type, fingerprint. |
cert add --zone ZONE CHAIN KEY |
Upload a certificate from PEM files: the chain (leaf first, then intermediates) and the private key. |
cert renew CERT CHAIN KEY |
Replace a certificate with a renewed one, under the same uuid. |
cert rm CERT |
Delete a certificate. Asks for confirmation. |
Every name on the certificate must be in the zone, and a name can have only one certificate:
to replace one, use renew, not add. The key is read from the file and sent once. The CLI
never prints it, and Dinio never returns it.
Certificates that Dinio issues for a redirect with --tls auto are listed with source
Acme (redirect). renew and rm refuse them and tell you to switch the redirect to
--tls manual first; see Redirects.