feature: HTTPS is always on, for wan.local_fqdn or, without it, the host name and its mDNS name, optionally also for the server's addresses, and the redirect to HTTPS covers the status page by name.
Release / release (push) Successful in 23s

This commit is contained in:
slawek committed 2026-11-24 19:26:51 +01:00
1 parent 7efacfa3bb
commit 64c3ae4c36
18 files changed
+317 -187

No files matched your search

+9 -6
View File
@@ -16,8 +16,8 @@ Issue and Settings are on every tab but Server.
## Tabs
- **Server:** the first tab, shown also while the PKI cannot be read: HTTPS and the name it is
for, with a chip while the server's certificate has a source other than ACME, and a settings
- **Server:** the first tab, shown also while the PKI cannot be read: HTTPS and the names and
addresses it is for, with a chip while the server's certificate has a source other than ACME, and a settings
button; the server's certificate, when it is not ACME's, with its issuer and expiry; the ACME
CA, with a chip while it is Let's Encrypt's staging environment, and a settings button (see
Server HTTPS below); and Caddy, which serves every HTTP and HTTPS port of the server, with its
@@ -47,16 +47,19 @@ Issue and Settings are on every tab but Server.
## Server HTTPS
The settings button of the HTTPS row sets the **certificate of the server**: ACME; self-signed,
with its validity in days; the Servers Issuing CA of the server's PKI; or another CA. Until the
chosen certificate is available, the server serves a self-signed one and warns.
with its validity in days; the Servers Issuing CA of the server's PKI; or another CA. Without
ACME, a checkbox also names the server's IP addresses in the certificate, to reach it over HTTPS
by address. Until the chosen certificate is available, the server serves a self-signed one and warns.
The source is self-signed unless the configuration names another; ACME is used only when it is
chosen. The first setup of a new installation chooses the Servers Issuing CA when the root CA and
that CA are available, as with a root the server creates, else self-signed; it does so also when
the configuration it is given names no source.
While HTTPS is on, the Manager's plain HTTP address redirects to its HTTPS address, unless the
HTTPS is always on, for `wan.local_fqdn` or, without it, the host name and `<host name>.local`;
with `https.ip_sans` the certificate also names the server's addresses. A plain HTTP request for
those names is redirected to HTTPS, on the status page's port and the Manager's, unless the
installer's `https_disable_auto_redirect` or `https.disable_auto_redirect` says otherwise; the
status page never redirects.
status page stays on plain HTTP by address, and `/pki/` on plain HTTP always.
The settings button of the ACME CA row sets the ACME CA of the server's certificate with ACME, and
of the web sites with TLS ACME: Let's Encrypt, with **Staging environment** for routers rebuilt