From 202c8f302e9bf6fbd61012ea916bcc3f41a531b1 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 28 Dec 2025 15:02:52 -0600 Subject: [PATCH] restic client instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 95562bc..e03ebaf 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,17 @@ pct set 103 -mp0 /mnt/nfs/restic,mp=/mnt/restic ## Restic Clients +Set up provisioner password by running this and pasting in the current JWK provisioner password for `admin` + +``` +read -s secret && (umask 077; echo "$secret" > secret.txt) +``` + ``` cd $(step path)/certs && \ -step ca certificate --provisioner admin $USER@$HOSTNAME restic.crt restic.key && \ +step ca certificate \ + --provisioner admin --password-file secret.txt \ + $(hostnamectl hostname) restic.crt restic.key && \ (umask 077; cat restic.crt restic.key > restic.pem) ```