fix: the directory holds up to 1 GiB, a revocation missing from its CRL is signed into it, and a setup without the directory keeps the certificates Caddy serves.
Release / release (push) Successful in 1m41s

This commit is contained in:
slawek committed 2026-12-03 23:03:56 +01:00
1 parent 240255b2ff
commit d59172c403
6 files changed
+79 -31

No files matched your search

+7 -4
View File
@@ -656,8 +656,9 @@ extensions are left out.
The CRLs of the issuing CAs are valid for `pki.crl_days`, and the root CRL, when the server signs
it, for `pki.root_crl_days`. A CRL is signed again at every revocation and, once half of its
validity has passed, by `linux-manager-pki.timer`, which runs `linux-manager-ca maintain` daily; it also
has `linux-manager-setup` renew the server's certificates when they are due. OpenVPN checks the CRL
validity has passed or when it lacks a revoked certificate that has not expired, by
`linux-manager-pki.timer`, which runs `linux-manager-ca maintain` daily; it also has
`linux-manager-setup` renew the server's certificates when they are due. OpenVPN checks the CRL
of every CA of a client's chain, the root's included, and refuses every client while one has
expired.
@@ -792,7 +793,7 @@ is switched on:
- its own database, `dc=linux-manager,dc=local` in `/var/lib/ldap/linux-manager`, next to the one the
slapd package creates; root manages it through the local socket, with no administrator
password;
password; its size limit (`olcDbMaxSize`) is 1 GiB, to which setup raises a smaller one;
- `ou=users` holds one entry per user, named by `uid`: an `inetOrgPerson` for a VPN user, an
`account` for a Manager-only account (see Managing users);
- the package's own schema under the OID `1.3.6.1.4.1.67380.10.1.2`, listed in
@@ -1708,7 +1709,9 @@ HTTPS certificate row makes the CSR and imports the certificates, and `/https` c
`/usr/lib/systemd/system/caddy.service.d/linux-manager.conf` makes `caddy.service` read;
`caddy.service` does not start before the file exists, and `/etc/caddy/Caddyfile` is not used.
Setup starts Caddy once the server is configured (`general.platform` other than `none`) and
reloads it when the file changes.
reloads it when the file changes. While the directory cannot be read, Caddy keeps serving the
certificates and keys an earlier run of setup copied for it, those of the HTTPS names and of the
issuing CAs; what has no copy is left out.
Caddy listens on every address, and the firewall decides who reaches it: `web.port` is open on the
interfaces `web.listen` names, the Manager's port on those of its `listen`, and `metrics.port` on