fix: a configuration that names no HTTPS certificate source gets the first setup's choice, and the development VM of lm-dev-vm.py is named by --fqdn, so its HTTPS sites answer a name that resolves to it.
Release / release (push) Successful in 19s

This commit is contained in:
slawek committed 2026-11-24 18:23:42 +01:00
1 parent 0cec95c19b
commit 7efacfa3bb
8 files changed
+43 -12

No files matched your search

+5 -3
View File
@@ -151,7 +151,7 @@ must have the type shown below; an unknown section or setting is an error.
| `https` | `web_port` | integer | `7444` | HTTPS port of the status web service |
| `https` | `manager_port` | integer | `7443` | HTTPS port of the Manager |
| `https` | `disable_auto_redirect` | boolean | `false` | The Manager answers on its plain HTTP port instead of redirecting there to its HTTPS address while `enabled` is `true`; the status page never redirects |
| `https` | `certificate` | string | `self-signed` | Where the certificate of `wan.local_fqdn` comes from: `self-signed`, `ca`, `acme` or `external`; empty in a new installation's file, for its first setup to choose `ca` or `self-signed` and write it here (see HTTPS) |
| `https` | `certificate` | string | `self-signed` | Where the certificate of `wan.local_fqdn` comes from: `self-signed`, `ca`, `acme` or `external`; empty in a new installation's file, or absent before the first successful setup, for its first setup to choose `ca` or `self-signed` and write it here (see HTTPS) |
| `https` | `self_signed_days` | integer | `365` | Days the self-signed certificate is valid, 1 to 3650 |
| `https` | `acme_provider` | string | `letsencrypt` | The ACME CA of the server and of the web sites with `tls` `acme`: `letsencrypt`, `zerossl` or `custom` (see HTTPS) |
| `https` | `acme_url` | string | | The `https://` ACME directory URL of `custom` |
@@ -1639,11 +1639,13 @@ is on or not.
### The server's certificate
`https.certificate` says where the certificate of `wan.local_fqdn` comes from; it is `self-signed`
when the file does not set it, and ACME only when it is set to `acme`. The file a new installation
when the file of a server already set up does not set it, and ACME only when it is set to `acme`. The file a new installation
writes has it empty, and that installation's first setup chooses it and writes it into the file:
`ca` when the root CA and the Servers Issuing CA are available, as with a root the server creates,
else `self-signed`, as with an offline root, a Simple CA root that has not signed yet, or a
directory that cannot be reached. A source chosen later, in the Manager or the file, stays.
directory that cannot be reached. Until a setup run has succeeded, a file that does not set it,
such as one written in place of the installer's, gets the same choice. A source chosen later, in
the Manager or the file, stays.
| Source | The certificate |
|---|---|