Certificates
Set certificate in axel.yaml to one of three modes:
| Mode | Use it when |
|---|---|
acme | The server is reachable from the internet; Axel gets and renews certificates |
supplied | You have a certificate for both hostnames: cert (the chain) and key |
internal | The server is internal only; Axel runs its own certificate authority |
Axel notifies the admin 30, 14 and 7 days before the certificate it serves expires.
Use the internal CA
-
Point DNS at the server: a record for each hostname, or one wildcard each for
*.axel.<domain>and*.axel-content.<domain>plus the two names themselves. -
Push the root from
https://axel.<domain>/cato every device once, by GPO or Intune. The CA can issue for the two hostnames and any name under them, so later services need no new root. -
Every five years, before the intermediate expires (
axel server doctorwarns 180 days ahead), renew it and give it the recovery key:sudo axel server ca renew-intermediate
The recovery key also opens the CA's root key, which the server stores only encrypted to it. If the key is lost, Axel keeps serving until the intermediate expires, but renewing or replacing the CA means pushing a new root to every device.