crypto: add certificate discovery to automatically import certificates from lets encrypt

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1835
This commit is contained in:
Jens Langhammer
2021-12-03 18:27:06 +01:00
parent 8db68410c6
commit 572f6d4ea0
14 changed files with 209 additions and 4 deletions

View File

@ -28,7 +28,7 @@ function check_if_root {
GROUP="authentik:${GROUP_NAME}"
fi
# Fix permissions of backups and media
chown -R authentik:authentik /media /backups
chown -R authentik:authentik /media /backups /certs
chpst -u authentik:$GROUP env HOME=/authentik $1
}