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

@@ -11,7 +11,7 @@ import linuxmanager_pki
from .common import PKI_STATUS, section_change
#: The settings of the https section PUT /https/settings changes.
CHANGEABLE = ('acme_staging', 'certificate', 'self_signed_days', 'acme_provider', 'acme_url', 'acme_eab_key_id',
CHANGEABLE = ('acme_staging', 'certificate', 'self_signed_days', 'ip_sans', 'acme_provider', 'acme_url', 'acme_eab_key_id',
'acme_eab_mac_key', 'zerossl_api_key')
#: The secrets of the https section, which the answers give as <name>_set instead.
@@ -34,7 +34,7 @@ def https(method, path, body):
server's HTTPS certificate (linuxmanager_pki.https_status)
PUT /https/settings change any of CHANGEABLE; the other settings of the section are changed on the server
with linux-manager-config-edit, and a body naming one is 400
POST /https/csr make a key and a CSR for wan.local_fqdn: {"csr"}
POST /https/csr make a key and a CSR for the HTTPS names: {"csr"}
PUT /https/certificate take the certificate another CA signed for the CSR, PEM with its chain: {"certificate"}
PUT /https/pfx take a PKCS#12 file of another CA's certificate: {"pfx" in base64, "password"}