fix: the root CA is created by the server, an offline CA or a Simple CA service, chosen at setup; the shell can stay open in a tab of its own, the Docker page is offered only with Docker, and the test scripts are in bin/.
Release / release (push) Failing after 14m20s
Release / release (push) Failing after 14m20s
This commit is contained in:
1 parent
ff0c93ed73
commit
a649331aa2
49 files changed
+1597
-637
No files matched your search
@@ -157,7 +157,9 @@ must have the type shown below; an unknown section or setting is an error.
|
||||
| `dns` | `enabled` | boolean | `false` | The primary name server of the server's domains, `wan.local_fqdn`, which must then be a DNS name (see Name server) |
|
||||
| `dns` | `secondary` | string | | The secondary name server of every domain, a host name other than `wan.local_fqdn`; it may transfer the domains |
|
||||
| `dns` | `listen` | string | `external` | The interfaces the name server answers on: `internal`, `external` or `both` |
|
||||
| `dns` | `ttl` | integer | `300` | TTL of the records, 60 to 86400 seconds |
|
||||
| `dns` | `ttl` | integer | `300` | The default TTL of the records, 60 to 86400 seconds: used where neither the record nor its domain has one |
|
||||
| `pki` | `root` | string | `local` | Where the root CA comes from: `local`, `offline` or `simple-ca`; fixed once the root exists (see Certificates) |
|
||||
| `pki` | `simple_ca_url` | string | | The `https://` URL of the Simple CA service, with `root` `simple-ca` |
|
||||
| `pki` | `root_name` | string | `Linux Manager Root CA` | Common name of the root CA, when the server creates it |
|
||||
| `pki` | `root_days` | integer | `7300` | Days the root CA's certificate is valid |
|
||||
| `pki` | `ca_days` | integer | `3650` | Days an issuing CA's certificate is valid |
|
||||
@@ -170,7 +172,6 @@ must have the type shown below; an unknown section or setting is an error.
|
||||
| `pki` | `issuing_cas` | object | | The general-purpose issuing CAs, each a name and `{name, templates, acme}` (see Certificates) |
|
||||
| `pki` | `templates` | object | | Certificate templates, each a name and the options it changes or defines (see Certificates) |
|
||||
| `pki` | `extended_key_usages` | object | | Custom extended key usages templates may give, each a name and its OID in dotted form (see Certificates) |
|
||||
| `pki` | `root_key_warning` | boolean | `true` | `linux-manager-ca status` and `/ca` warn while the root key is on the server; `false` silences that warning |
|
||||
| `metrics` | `enabled` | boolean | `true` | The metrics service: collection, history and `/metrics` |
|
||||
| `metrics` | `listen` | string | `internal` | The interfaces `/metrics` is served on: `internal`, `external` or `both` |
|
||||
| `metrics` | `port` | integer | `9464` | TCP port of `/metrics` |
|
||||
@@ -431,8 +432,9 @@ The server has a two-level certificate authority, kept by `linux-manager-setup`
|
||||
uses. It is held in `ou=pki,dc=linux-manager,dc=local` of the server's directory, next to the users:
|
||||
|
||||
```
|
||||
cn=root the root CA; without linuxManagerPrivateKey while the root is offline
|
||||
cn=<name> an issuing CA; with linuxManagerCertificateRequest while it waits for the offline root
|
||||
cn=root the root CA; its key with pki.root local, the Simple CA token with simple-ca
|
||||
cn=upstream the Simple CA issuing CA that signs the issuing CAs, with simple-ca
|
||||
cn=<name> an issuing CA; with linuxManagerCertificateRequest while it waits for its certificate
|
||||
cn=<name>-<time> an issuing CA taken out of use, with linuxManagerRetired
|
||||
serialNumber=<serial>,cn=<CA> a certificate the CA issued
|
||||
```
|
||||
@@ -464,21 +466,21 @@ The root signs the issuing CAs only (path length 1), and the issuing CAs sign th
|
||||
lowercase letters, digits and hyphens, and is not `root`, `p2s` or `s2s`; `templates` are the
|
||||
templates the CA issues.
|
||||
|
||||
Once a platform is chosen, `linux-manager-setup` creates what is missing: the root when it has
|
||||
neither certificate nor key, each issuing CA, the server's certificates once `wan.local_fqdn` is
|
||||
set, and the CRLs. The names, lifetimes and key type of `pki` apply when something is created. An
|
||||
issuing CA removed from `pki.issuing_cas` is retired: its entry is renamed `cn=<name>-<time>`,
|
||||
loses its key, and its certificate is revoked on the root CRL. The server renews its own certificates when less than a
|
||||
Once a platform is chosen, `linux-manager-setup` creates what is missing: the root, as `pki.root`
|
||||
says (see The root), each issuing CA, the server's certificates once `wan.local_fqdn` is set, and
|
||||
the CRLs. The names, lifetimes and key type of `pki` apply when something is created. An issuing
|
||||
CA removed from `pki.issuing_cas` is retired: its entry is renamed `cn=<name>-<time>`, loses its
|
||||
key, and its certificate is revoked on the root CRL, or, with an external root, there. The server renews its own certificates when less than a
|
||||
third of their lifetime is left, when the names they need change, or when their CA changes; a
|
||||
user's certificate is renewed by removing and adding the user.
|
||||
|
||||
The package copies what each consumer needs: the root, `p2s` and `s2s` into
|
||||
`/etc/swanctl/x509ca/` as `root.pem`, `p2s.pem` and `s2s.pem` (strongSwan reads one certificate
|
||||
per file), the remote CA of each site-to-site connection that has one as `s2s-<name>.pem`, the
|
||||
server's certificates into `/etc/swanctl/x509/` and their keys into `/etc/swanctl/private/`, the
|
||||
CRLs into `/etc/swanctl/x509crl/`, the root and `p2s` with their CRLs into
|
||||
`/etc/openvpn/server/linux-manager-ca.pem` and `linux-manager-crl.pem`, and the root into the system
|
||||
trust store.
|
||||
The package copies what each consumer needs: the root, the Simple CA upstream CA when there is
|
||||
one, `p2s` and `s2s` into `/etc/swanctl/x509ca/` as `root.pem`, `upstream.pem`, `p2s.pem` and
|
||||
`s2s.pem` (strongSwan reads one certificate per file), the remote CA of each site-to-site
|
||||
connection that has one as `s2s-<name>.pem`, the server's certificates into `/etc/swanctl/x509/`
|
||||
and their keys into `/etc/swanctl/private/`, the CRLs into `/etc/swanctl/x509crl/`, the root, the
|
||||
upstream CA and `p2s` with their CRLs into `/etc/openvpn/server/linux-manager-ca.pem` and
|
||||
`linux-manager-crl.pem`, and the root into the system trust store.
|
||||
|
||||
`linux-manager-ca status` shows the root, the issuing CAs and what needs attention:
|
||||
|
||||
@@ -580,45 +582,90 @@ has `linux-manager-setup` renew the server's certificates when they are due. Ope
|
||||
of every CA of a client's chain, the root's included, and refuses every client while one has
|
||||
expired.
|
||||
|
||||
### Offline root
|
||||
### The root
|
||||
|
||||
Keeping the root key off the server is recommended, not required; while it is on the server,
|
||||
`linux-manager-ca status` says so, unless `pki.root_key_warning` is `false`. Export it, encrypted with a
|
||||
passphrase read from the first line of standard input, keep the file in a safe place, and remove
|
||||
the key from the server:
|
||||
`pki.root`, chosen at setup and fixed once the root exists, says where the root comes from:
|
||||
|
||||
| Source | The root | The issuing CAs | The root CRL |
|
||||
|---|---|---|---|
|
||||
| `local` (the default) | created by the server, named `pki.root_name`, with its key on the server | signed by the server | signed by the server |
|
||||
| `offline` | a CA kept elsewhere, whose certificate is imported | signed offline from their CSRs, then imported | signed offline, then uploaded |
|
||||
| `simple-ca` | the root of a Simple CA service | signed by an issuing CA of that Simple CA | fetched from Simple CA |
|
||||
|
||||
Setup refuses a `pki.root` other than the source of the root the directory holds, and so does
|
||||
`PUT /ca`.
|
||||
|
||||
#### Offline root
|
||||
|
||||
Setup makes the key and the CSR of each issuing CA and waits; `linux-manager-ca status` lists
|
||||
what waits. Import the root's certificate first, self-signed and allowing a CA below it, then sign
|
||||
each CSR with the root and import the certificate:
|
||||
|
||||
```sh
|
||||
linux-manager-ca root export-key --out /root/linux-manager-root-key.pem
|
||||
linux-manager-ca root remove-key
|
||||
linux-manager-ca ca import root root-cert.pem
|
||||
linux-manager-ca ca csr p2s # the CSR, then the [ issuing_ca ] extensions
|
||||
# on the offline machine, with the CSR in p2s.csr and the extensions in issuing_ca.cnf:
|
||||
openssl x509 -req -in p2s.csr -CA root-cert.pem -CAkey root-key.pem -CAcreateserial \
|
||||
-days 3650 -sha256 -extfile issuing_ca.cnf -extensions issuing_ca -out p2s.pem
|
||||
linux-manager-ca ca import p2s p2s.pem
|
||||
```
|
||||
|
||||
While the root key is not on the server, a new issuing CA gets its key and a CSR and waits;
|
||||
`linux-manager-ca status` says so. Print the CSR and the extensions to sign it with, sign it with the
|
||||
root on the offline machine, and import the certificate:
|
||||
The server cannot sign the root CRL. Sign it offline and upload it before the current one
|
||||
expires, as OpenVPN refuses every client while a CRL of a client's chain has expired:
|
||||
|
||||
```sh
|
||||
linux-manager-ca ca csr servers # the CSR, then the [ issuing_ca ] extensions
|
||||
# on the offline machine, with the CSR in servers.csr and the extensions in issuing_ca.cnf:
|
||||
openssl x509 -req -in servers.csr -CA root-cert.pem -CAkey linux-manager-root-key.pem -CAcreateserial \
|
||||
-days 3650 -sha256 -extfile issuing_ca.cnf -extensions issuing_ca -out servers.pem
|
||||
linux-manager-ca ca import servers servers.pem
|
||||
```
|
||||
|
||||
The server cannot sign the root CRL without the key. Sign it where the key is, or put the key back
|
||||
for a moment, and take the CRL before the current one expires:
|
||||
|
||||
```sh
|
||||
linux-manager-ca root import-key /root/linux-manager-root-key.pem # the passphrase on standard input
|
||||
linux-manager-ca maintain
|
||||
linux-manager-ca root remove-key
|
||||
# or, with a CRL signed elsewhere:
|
||||
linux-manager-ca root import-crl root.crl
|
||||
```
|
||||
|
||||
An existing root CA of your own is used by placing its certificate, and its key if the server may
|
||||
use it, as `/etc/linux-manager/pki/root/cert.pem` and `key.pem` before `linux-manager-setup` first runs
|
||||
with a platform, as cloud-init can. Setup imports them into the directory and removes the files.
|
||||
Without the key, the issuing CAs wait for their certificates as above.
|
||||
A retired issuing CA is revoked on the root CRL signed offline.
|
||||
|
||||
#### Simple CA root
|
||||
|
||||
A Simple CA service signs the issuing CAs. Its root allows two levels of CAs below it, and one of
|
||||
its issuing CAs, the upstream CA, may sign CAs:
|
||||
|
||||
```text
|
||||
Simple CA root (pathlen 2)
|
||||
Simple CA issuing CA, the upstream CA (pathlen 1)
|
||||
the server's issuing CAs (pathlen 0)
|
||||
the certificates
|
||||
```
|
||||
|
||||
In Simple CA, a `sign-ca` token of the upstream CA is created with a one-time setup code:
|
||||
|
||||
```sh
|
||||
simple-ca ca create --ca-dir /srv/ca --path-length 2 "Example Root CA"
|
||||
simple-ca ca create --ca-dir /srv/ca --issuing-ca servers --path-length 1 "Example Servers CA"
|
||||
simple-ca token create --ca-dir /srv/ca/servers --scope sign-ca --otc --valid 8760h router
|
||||
```
|
||||
|
||||
`pki.simple_ca_url` is the `https://` URL of the Simple CA service. The server checks its HTTPS
|
||||
certificate against the system's trust store, so the CA that issued it, any CA, is installed
|
||||
there before setup runs, by the administrator or by cloud-init's `ca_certs`:
|
||||
|
||||
```sh
|
||||
install -m 0644 https-ca.pem /usr/local/share/ca-certificates/simple-ca-https-ca.crt
|
||||
update-ca-certificates
|
||||
```
|
||||
|
||||
The setup code is given at setup (debconf `linux-manager/pki_setup_code`, written to
|
||||
`/etc/linux-manager/pki-setup-code`) or later:
|
||||
|
||||
```sh
|
||||
linux-manager-ca root setup-code # the setup code on standard input
|
||||
```
|
||||
|
||||
The server exchanges the code at `/api/token-setup` for the token, which it keeps in the
|
||||
directory, and has each issuing CA signed at `/<upstream>/api/sign-ca`. It takes the root and the
|
||||
upstream CA from the first chain Simple CA answers with, once the token's signature verifies with
|
||||
the upstream CA's key, and checks every later chain against them. The upstream CA is in every
|
||||
chain the server gives: the CA bundles, the chains of issued certificates, OpenVPN's CA file and
|
||||
the Apple VPN profile. The root and the upstream CRLs are fetched daily from the CRL distribution
|
||||
points of the certificates they signed.
|
||||
|
||||
An issuing CA waits while Simple CA cannot sign it, and `linux-manager-ca maintain` has setup try
|
||||
again. A token that expired, or a setup code that expired before setup ran, is replaced with a new
|
||||
setup code. A retired issuing CA is revoked in Simple CA, where the server cannot do it.
|
||||
|
||||
### ACME server
|
||||
|
||||
@@ -789,7 +836,8 @@ While `p2s.enabled` is `true` and `wan.local_fqdn` is set, `/users/<name>/apple-
|
||||
user's own `/account/apple-profile` give an unsigned Apple configuration profile (`.mobileconfig`)
|
||||
that sets up IKEv2 access in the built-in VPN client of macOS, iOS and iPadOS. It holds:
|
||||
|
||||
- the P2S CA and the root CA, the root installed as a trusted root;
|
||||
- the P2S CA, the Simple CA issuing CA above it when there is one, and the root CA, the root
|
||||
installed as a trusted root;
|
||||
- the user's certificate and key as a PKCS#12 encrypted with the password of the request, with
|
||||
3DES and SHA-1, the only encryption Apple's clients read; the device asks for the password when
|
||||
the profile is installed, and the server does not keep it;
|
||||
@@ -1162,7 +1210,7 @@ lme /etc/linux-manager/linux-manager.json ~/notes.txt
|
||||
| `network` | The external and internal interface, their addresses, the internal gateway, `local.cidrs`, `site_to_site`: each connection with `name`, `local_identity`, `remote_identity`, `local_cidrs` and `remote_cidrs`, `interfaces`: each interface but loopback with `name`, `state`, `mac`, `ipv4`, its IPv4 addresses, and `ipv6`, its global IPv6 addresses, as `address/prefix`, `null` when `ip` fails, and the IPv4 routes as `ip -j -4 route` prints them |
|
||||
| `ipsec` | `connections` and `sas`: one object per connection and per IKE SA, read from `swanctl --list-conns --pretty` and `swanctl --list-sas --pretty`, with the connection's name under `name` and swanctl's keys and string values |
|
||||
| `wireguard` | The public key and port of `wg0`, and each peer's public key, endpoint, allowed IPs, handshake age and traffic; no private or preshared key |
|
||||
| `docker` | `docker.exposed_ports` and the rules of the `LINUX-MANAGER-DOCKER` chain |
|
||||
| `docker` | `installed`, whether `docker.service` is installed, `docker.exposed_ports` and the rules of the `LINUX-MANAGER-DOCKER` chain |
|
||||
| `postgresql` | `clusters`: each PostgreSQL cluster of `pg_lsclusters` with its version, name, port, status and data directory, and for one that is online its `settings`: `server_version`, `listen_addresses`, `port`, `max_connections`, `shared_buffers`, `effective_cache_size`, `work_mem`, `password_encryption`, `ssl` and `timezone`; `null` when `pg_lsclusters` fails |
|
||||
| `caddy` | The installed Caddy: `version`, `source`, `upstream` once Caddy's repository is configured and `ubuntu` otherwise, and `service`, the state of `caddy.service`; `null` when Caddy is not installed |
|
||||
| `oidc` | The OpenID Provider: `enabled`, and `issuer`, its issuer URL, `null` while it is disabled |
|
||||
@@ -1444,29 +1492,30 @@ group, must allow the OpenVPN and WireGuard ports itself.
|
||||
| Request | Body | Answer |
|
||||
| --- | --- | --- |
|
||||
| `GET /ca` | | `{"settings", "templates", "extended_key_usages", "status", "certificates"}` |
|
||||
| `PUT /ca` | any of the settings of the `pki` section | `{"settings", "templates"}` |
|
||||
| `PUT /ca` | any of the settings of the `pki` section; `root` only as the source of an existing root | `{"settings", "templates"}` |
|
||||
| `POST /ca/certificates` | `{"ca", "template", "csr"}` | 201 and `{"serial", "certificate", "chain"}`, PEM |
|
||||
| `POST /ca/certificates` | `{"ca", "template", "subject", "sans", "password"}` | 201 and `{"serial", "pfx"}`, a PKCS#12 file in base64 |
|
||||
| `POST /ca/certificates/<serial>/revoke` | `{"reason"}`, optional | the certificate, with `reissue` for a router certificate |
|
||||
| `GET /ca/bundle/<name>` | | `{"name", "pem"}`: the certificates a client trusts the CA with, the root alone for `root`, the issuing CA followed by the root for an issuing CA |
|
||||
| `GET /ca/bundle/<name>` | | `{"name", "pem"}`: the certificates a client trusts the CA with, the root alone for `root`, the issuing CA followed by the Simple CA upstream CA, when there is one, and the root for an issuing CA |
|
||||
| `GET /ca/issuing/<name>/csr` | | `{"name", "csr", "extensions"}` of an issuing CA waiting for the offline root |
|
||||
| `PUT /ca/issuing/<name>/certificate` | `{"certificate"}`, PEM, signed by the root | `{"name", "subject", "expires"}` |
|
||||
| `PUT /ca/root/crl` | `{"crl"}`, PEM, signed by the root | `{"next_update"}` |
|
||||
| `PUT /ca/root/certificate` | `{"certificate"}`, PEM, of the offline root | `{"name", "subject", "expires"}` |
|
||||
| `PUT /ca/root/crl` | `{"crl"}`, PEM, signed by the offline root | `{"next_update"}` |
|
||||
| `PUT /ca/root/setup-code` | `{"code"}`, a Simple CA setup code | `{"upstream", "expires"}`: the Simple CA issuing CA and the expiry of the token |
|
||||
|
||||
The answer of `GET /ca` holds:
|
||||
|
||||
- **`settings`:** the `pki` section.
|
||||
- **`templates`:** every template, the built-in ones included, with all its options.
|
||||
- **`extended_key_usages`:** every extended key usage templates may give, name -> `{"oid", "builtin"}`.
|
||||
- **`status`:** `root` (`subject`, `expires`, `key`, whether the root key is on the server, `crl_next_update` and `crl_source`, `signed` or `uploaded`), `authorities`, one per issuing CA (`name`, `common_name`, `state`: `active`, `pending` or `missing`, `builtin`, `templates`, `acme`, `subject`, `expires`, `key`, `crl_next_update`, `acme_url`), `retired` and `warnings`.
|
||||
- **`status`:** `root` (`source`, `pki.root`, `state`, `active` or `pending`, `subject`, `expires`, `crl_next_update`, `crl_source`, `signed`, `uploaded` or `fetched`, `simple_ca_url`, `upstream`, the Simple CA issuing CA `{"name", "subject", "expires", "crl_next_update"}` or null, and `token_expires`), `authorities`, one per issuing CA (`name`, `common_name`, `state`: `active`, `pending` or `missing`, `builtin`, `templates`, `acme`, `subject`, `expires`, `key`, `crl_next_update`, `acme_url`), `retired` and `warnings`.
|
||||
- **`certificates`:** the certificates issued, newest first, each `{"serial", "ca", "kind", "template", "subject", "sans", "created", "expires", "revoked", "reason", "state"}`; `kind` is `ca`, `router`, `user` or `external`, and `state` `valid`, `expired` or `revoked`.
|
||||
|
||||
A change of the settings is made, checked and applied as for `/site-to-site`; an imported issuing
|
||||
CA certificate and a revoked router certificate restart `linux-manager-setup` too. A failure is
|
||||
`{"error": ...}` with 400 for an invalid request, 404 for something that does not exist, 409 when
|
||||
the state does not allow it, as for a revoked certificate or an issuing CA that has its
|
||||
certificate, and 500 otherwise. The root key never crosses the API; `linux-manager-ca` exports,
|
||||
removes and imports it.
|
||||
A change of the settings is made, checked and applied as for `/site-to-site`; an imported root or
|
||||
issuing CA certificate, a new Simple CA token and a revoked router certificate restart
|
||||
`linux-manager-setup` too. A failure is `{"error": ...}` with 400 for an invalid request, 404 for
|
||||
something that does not exist, 409 when the state does not allow it, as for a revoked certificate
|
||||
or an issuing CA that has its certificate, and 500 otherwise. The root key never crosses the API.
|
||||
|
||||
The service starts on its own, without waiting for `linux-manager-setup`, and keeps running. Every
|
||||
30 seconds it reads `web.listen`, `web.port` and `web.enabled` from `linux-manager.json` and works
|
||||
@@ -1975,7 +2024,7 @@ A backup holds the state that `linux-manager-setup` cannot make again:
|
||||
| `/etc/wireguard` | The WireGuard keys and the peers |
|
||||
| `/etc/ufw`, `/etc/default/ufw` | The firewall rules |
|
||||
| `files/<path>` | Each `psk_file` outside `/etc/linux-manager` |
|
||||
| `ldap/linux-manager.ldif` | The user directory, written by `slapcat`: users, groups, service accounts, password hashes and TOTP secrets, and the PKI: the CAs and their keys, the root key while it is on the server, and the certificates issued, with the keys of the server's and the users' certificates |
|
||||
| `ldap/linux-manager.ldif` | The user directory, written by `slapcat`: users, groups, service accounts, password hashes and TOTP secrets, and the PKI: the CAs and their keys, the Simple CA token, and the certificates issued, with the keys of the server's and the users' certificates |
|
||||
| `postgresql/linux-manager.dump` | With `backup.metrics`, the database of the metrics and the refresh tokens, written by `pg_dump -Fc` |
|
||||
| `/var/lib/linux-manager/sites` | The folders of the web sites |
|
||||
| `postgresql/linux-manager-sites.dump`, `postgresql/linux-manager-dns.dump` | The databases of the web sites and of the name server, once they exist |
|
||||
@@ -2081,7 +2130,10 @@ name, left of Sign out, opens the account page, and the terminal icon left of it
|
||||
- **Settings** (the gear in the header, hidden on the sign-in and the account page): how often the Overview and the Metrics tab read the server
|
||||
on their own, kept in the browser's localStorage, so each browser has its own. Each tab reads
|
||||
manually, or every 5, 10 or 30 seconds, 1, 5 or 15 minutes; the Overview tab every 10 seconds and
|
||||
the Metrics tab every minute by default. Manual reads when the tab opens and on Refresh. A change applies at once, also in the browser's other tabs; Defaults sets both back.
|
||||
the Metrics tab every minute by default. Manual reads when the tab opens and on Refresh. **Open
|
||||
the shell in a new tab**, off by default, makes the shell button open the shell in a tab of its
|
||||
own, which stays open while the first tab opens other pages. A change applies at once, also in
|
||||
the browser's other tabs; Defaults sets them back.
|
||||
|
||||
- **Account** (`/user`): the Account and the Passkeys panel side by side, with One-time passwords
|
||||
and VPN profiles below. The user's name, kind, names, e-mail address, whether they are an
|
||||
@@ -2102,17 +2154,15 @@ name, left of Sign out, opens the account page, and the terminal icon left of it
|
||||
and code.
|
||||
|
||||
- **Certificates** (`/ca-manager`, in the page menu of administrators): the server's two-level CA, from its `/ca`, in tabs:
|
||||
- **Root:** the root CA's subject, expiry, whether its key is on the server, marked with a warning sign, or offline, and its CRL, with Download root CA, the root's certificate alone, and Upload CRL for a root CRL signed offline; the general information: where certificates and CRLs are published, the CA key type, the lifetimes, and the CRL validity; the certificates of the issuing CAs, each active one with a download icon for its CA bundle, and the retired ones.
|
||||
- **Root:** the root CA's source, state, subject, expiry and CRL, with Simple CA its issuing CA that signs the server's and the expiry of the token, with Download root CA, the root's certificate alone; Import root certificate while an offline root waits for it, Upload CRL for a CRL of the offline root, and Enter setup code for a new Simple CA token; the general information: where certificates and CRLs are published, the CA key type, the lifetimes, and the CRL validity; the certificates of the issuing CAs, each active one with a download icon for its CA bundle, and the retired ones.
|
||||
- **Templates:** the certificate templates with their key, lifetime, subject, usages, alternative names, certificate policies and the CAs that issue them; Add template, Edit on each, Remove on one of the server's own and Reset on a changed built-in one, which brings back its defaults. A template's extended key usages are chosen from those of the next tab, and its certificate policies are OIDs typed in.
|
||||
- **Extended key usages:** the usages templates may give, with their OIDs and the templates that give them; the built-in ones are shown and not changed, and custom ones are added with a name and an OID, and changed or removed.
|
||||
- **P2S Issuing CA** and **S2S Issuing CA:** the CA's common name, state (active, or pending while it waits for the offline root), expiry, CRL and templates, and the certificates it issued. An active CA gives its CA bundle, the issuing CA followed by the root, with Download CA bundle; a pending CA gives its CSR with the openssl extensions to sign it with, and takes the certificate signed by the root.
|
||||
- **Issuing CAs:** the general-purpose CAs with their state, expiry, CRL, templates and ACME directory URL; Add issuing CA, and Edit and Remove on each: its name, fixed once it exists, its common name, the templates it issues and its ACME server; an active CA's download icon gives its CA bundle. A removed CA is retired by the server, which revokes its certificate on the root CRL. Below, their certificates, filtered by CA. - **Certificates:** each with its kind, template, names, expiry and state; a certificate of another system or of the server is revoked after a confirmation with a reason.
|
||||
- **Issue** (above the tabs): from a CSR, saving the certificate with its chain, or with a key the server makes, saving a PFX file protected by a password; the server keeps no copy of the key.
|
||||
- **Settings** (above the tabs): the names, lifetimes, key type, CRL validity and publishing endpoints.
|
||||
- **Settings** (above the tabs): the source of the root, shown, the Simple CA URL, the names, lifetimes, key type, CRL validity and publishing endpoints.
|
||||
- **Warnings** (above the tabs): what the server says needs attention, such as a CRL about to expire.
|
||||
|
||||
The root key is exported, removed and imported on the server with `linux-manager-ca`, never through the Manager.
|
||||
|
||||
- **Overview**: the server's overall status, ok or degraded, on the title bar of the Status panel;
|
||||
at the top of that panel, a table of `linux-manager`
|
||||
with the installed version and, when the repository has a newer one, that version; Check update
|
||||
@@ -2256,9 +2306,10 @@ name, left of Sign out, opens the account page, and the terminal icon left of it
|
||||
domain (domain, TTL), edited and removed with their icons; and for the selected domain the
|
||||
records it serves, and its manual records, added with Add record (name, type, content and
|
||||
TTL) and removed with their icon.
|
||||
- **Docker** (`/docker-manager`): whether Docker is installed, the state of `docker.service` and of
|
||||
the server's Docker rules, the ports exposed on the external interface and the rules of the
|
||||
`LINUX-MANAGER-DOCKER` chain, from the server's `/status/full` and `/config`.
|
||||
- **Docker** (`/docker-manager`): the state of `docker.service` and of the server's Docker rules,
|
||||
the ports exposed on the external interface and the rules of the `LINUX-MANAGER-DOCKER` chain,
|
||||
from the server's `/status/full` and `/config`. The page menu leaves the page out while
|
||||
`/config` says Docker is not installed, and the page itself then says so.
|
||||
- **Shell** (`/shell`, the terminal icon in the header): a login shell on the server in xterm.js, the terminal of VS Code, as the
|
||||
signed-in user's console account, the user's own LDAP POSIX account or a local account. Opening
|
||||
it asks for the password and the code again, or Open with a passkey takes one of the user's
|
||||
|
||||
Reference in new issue
Block a user