Skip to Content
Axel docs
Configure

Certificates

Set certificate in axel.yaml to one of three modes:

ModeUse it when
acmeThe server is reachable from the internet; Axel gets and renews certificates
suppliedYou have a certificate for both hostnames: cert (the chain) and key
internalThe 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

  1. 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.

  2. Push the root from https://axel.<domain>/ca to 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.

  3. Every five years, before the intermediate expires (axel server doctor warns 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.