Replace acme_tiny.py with certbot as ACME client

This commit is contained in:
Arjan H
2025-05-31 11:21:08 +02:00
parent 26887b7f96
commit 273b2b83ff
12 changed files with 47 additions and 241 deletions

4
backup
View File

@@ -12,13 +12,13 @@ fi
instance=$(grep fqdn /opt/labca/data/config.json 2>/dev/null | cut -d ":" -f 2- | tr -d " \"," | cut -d"." -f1)
BASE=${NOW}_${instance}${CRON}
TMPDIR=/tmp/$BASE
mkdir -p $TMPDIR
mkdir -p $TMPDIR/nginx_ssl
mkdir -p /opt/backup
cd /opt/boulder
docker compose exec bmysql mysqldump boulder_sa_integration >$TMPDIR/boulder_sa_integration.sql
cp -p /etc/nginx/ssl/*key* /etc/nginx/ssl/*cert.pem /etc/nginx/ssl/*.csr $TMPDIR/
cp -rp /etc/nginx/ssl $TMPDIR/nginx_ssl/
cp -rp /opt/labca/data $TMPDIR/
#cp -p /opt/labca/data/config.json $TMPDIR/