diff --git a/apps/web/src/App.svelte b/apps/web/src/App.svelte index 5507c99..674e7a6 100644 --- a/apps/web/src/App.svelte +++ b/apps/web/src/App.svelte @@ -96,6 +96,7 @@
{viewer?.via === "authelia" ? `Signed in as ${viewer.name} through Authelia` : viewer ? `Using the API token "${viewer.name}"` : "Signed in through Authelia"}
Control on 127.0.0.1 only
+ {#if app.overview?.site?.auth_logout_url}Sign out{/if}This file asks the Domi root to sign a new intermediate certificate. It holds no secret.
Check that the offline computer shows the same code: {r.match_code}
- +Step 2
Copy the file to the offline computer that holds the Domi root, then run:
-ianitor-control ca sign --root <root folder> --csr domi-intermediate-{day}.csr --out domi-intermediate-{day}.crt
- It asks for the root's passphrase and shows the code; sign only if it is the code above.
+Copy both files to the offline computer that holds the Domi root, then run:
+{r.approve_command ?? `openssl x509 -req -in ${base}.csr -CA domi-root.crt -CAkey domi-root.key -days 365 -sha256 -extfile ${base}.ext -out ${base}.crt`}
+ Before signing, check that the request is the one this page shows: openssl req -in {base}.csr -noout -subject. (On a computer with Ianitor installed, ianitor-control ca sign does the same and shows the match code.)
Step 3
@@ -105,6 +119,7 @@ {/if} diff --git a/apps/web/src/views/Settings.svelte b/apps/web/src/views/Settings.svelte index bda12ba..43acad5 100644 --- a/apps/web/src/views/Settings.svelte +++ b/apps/web/src/views/Settings.svelte @@ -169,6 +169,7 @@{settings?.watch_seconds ?? app.overview?.site?.watch_seconds ?? 60} seconds
Signed in
{viewer ? (viewer.via === "authelia" ? `${viewer.name} through Authelia` : `API token "${viewer.name}"`) : "Through Authelia"}
+ {#if app.overview?.site?.auth_logout_url}{/if} {:else if tab === "api"}