feature: the VPN, the router, the name server and WebDAV are components switched on the System tab and installed on demand, Caddy from the Ubuntu archive is a dependency and serves every HTTP and HTTPS port, HTTPS is chosen at install, its certificate is of the Servers Issuing CA or self-signed by default, of ACME or of another CA, the issuing CAs are in one tab, a locked account is unlocked again, the name of a CA is fixed once the CA exists, and a run of setup is no longer cut short by a change.
Release / release (push) Failing after 8s
Release / release (push) Failing after 8s
This commit is contained in:
1 parent
a649331aa2
commit
a7bfabcb89
97 files changed
+4498
-1834
No files matched your search
+49
-13
@@ -1,19 +1,27 @@
|
||||
# Certificates
|
||||
|
||||
The server's CA: a root CA and issuing CAs that sign the certificates. The root is created by the
|
||||
server, an offline CA, or the root of a Simple CA service whose issuing CA signs the server's
|
||||
issuing CAs; that is chosen at setup and fixed once the root exists.
|
||||
The server's HTTPS certificate and its CA: a root CA and issuing CAs that sign the certificates.
|
||||
The root is created by the server, an offline CA, or the root of a Simple CA service whose issuing
|
||||
CA signs the server's issuing CAs; that is chosen at setup and fixed once the root exists.
|
||||
|
||||
## Above the tabs
|
||||
|
||||
Issue and Settings are on every tab but Server.
|
||||
|
||||
- **Issue:** a certificate from a CSR, saved with its chain, or with a key the server makes, saved
|
||||
as a PFX file protected by a password; the server keeps no copy of the key.
|
||||
- **Settings:** the names, lifetimes, key type, CRL validity, publishing endpoints and, with a
|
||||
Simple CA root, the URL of the service.
|
||||
- **Settings:** the names of the P2S and S2S CAs while they do not exist yet, the lifetimes, key
|
||||
type, CRL validity, publishing endpoints and, with a Simple CA root, the URL of the service.
|
||||
- **Warnings:** what needs attention, such as a CRL about to expire.
|
||||
|
||||
## 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
|
||||
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
|
||||
version and the state of `caddy.service`.
|
||||
- **Root:** the root CA's source, state, subject, expiry and CRL, and with Simple CA its issuing
|
||||
CA that signs the server's and the expiry of the token. **Download root CA** gives its
|
||||
certificate. An offline root takes its certificate with **Import root certificate**, before the
|
||||
@@ -24,11 +32,39 @@ issuing CAs; that is chosen at setup and fixed once the root exists.
|
||||
**Reset** for a changed built-in one.
|
||||
- **Extended key usages:** the usages templates may give, with their OIDs; custom ones are added
|
||||
with a name and an OID.
|
||||
- **P2S Issuing CA** and **S2S Issuing CA:** the CAs of the VPN users and of site-to-site
|
||||
connections. An active CA gives its CA bundle; a pending CA, waiting for the offline root, gives
|
||||
its CSR and takes the certificate the root signed, and one waiting for Simple CA is signed once
|
||||
the server reaches it.
|
||||
- **Issuing CAs:** general-purpose CAs, each with its templates and an optional ACME server.
|
||||
**Add issuing CA**, **Edit** and **Remove**; a removed CA is retired and its certificate revoked.
|
||||
- **Certificates:** each with its kind, template, names, expiry and state; one of another system
|
||||
or of the server is revoked after a confirmation with a reason.
|
||||
- **Issuing CAs:** the built-in CAs, P2S for the VPN users, S2S for site-to-site connections and
|
||||
the Servers Issuing CA `servers` for mTLS certificates and the server's HTTPS certificate, and the
|
||||
custom CAs, each with its templates and an optional ACME server. P2S is off while the VPN is,
|
||||
and S2S while the router is, until they are switched on. An active CA gives its CA
|
||||
bundle; a pending CA, waiting for the offline root, gives its CSR and takes the certificate the
|
||||
root signed, and one waiting for Simple CA is signed once the server reaches it. **Add issuing
|
||||
CA**, **Edit** and **Remove** are for the custom CAs; a removed CA is retired and its
|
||||
certificate revoked. The common name of a CA is fixed once the CA has its certificate or CSR:
|
||||
a CA with another name is a new CA, added under a new name. Below, the certificates of all of
|
||||
them, filtered by CA, each with its kind, template, names, expiry and state; one of another
|
||||
system or of the server is revoked after a confirmation with a reason.
|
||||
|
||||
## 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.
|
||||
|
||||
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.
|
||||
While HTTPS is on, the Manager's plain HTTP address redirects to its HTTPS address, unless the
|
||||
installer's `https_disable_auto_redirect` or `https.disable_auto_redirect` says otherwise; the
|
||||
status page never redirects.
|
||||
|
||||
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
|
||||
often, whose certificates no browser trusts; ZeroSSL, with an optional API key; or a custom ACME
|
||||
directory URL, such as HashiCorp Vault, Caddy or Simple CA, with optional EAB credentials. The CA
|
||||
of a custom directory's HTTPS certificate is in the server's trust store.
|
||||
|
||||
With another CA, the HTTPS certificate row has **Generate CSR**, which saves a CSR for the
|
||||
server's name, **Import certificate**, which takes the certificate signed for it followed by its
|
||||
chain, and **Import PFX**, which takes a PFX file and its password. Saving and importing run the
|
||||
server's setup again, which applies the change. The other HTTPS settings are changed on the
|
||||
server with `linux-manager-config-edit`.
|
||||
Reference in new issue
Block a user