Add cert to authentik

This commit is contained in:
Tobias Reisinger 2024-09-28 21:24:11 +02:00
parent 8ad3a4a041
commit 6f77230c15
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 20 additions and 0 deletions
roles/lego/files/node002

View file

@ -0,0 +1,12 @@
#!/usr/bin/env sh
domain="auth.serguzim.me"
_install() {
install --owner=root --group=root --mode=600 \
"$CERTIFICATES_PATH/$domain.$1" \
"/opt/services/authentik/certs/$domain.$2"
}
_install crt pem
_install key key