add support to autrenew letsencrypt certificates, still testing

This commit is contained in:
nd 2020-06-27 16:55:52 +02:00
parent 12895a364f
commit 0e0c634e37
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
9 changed files with 179 additions and 23 deletions

View file

@ -0,0 +1,5 @@
#!/bin/bash
for i in $LETSENCRYPT_CHALLENGE_SERVERS; do
ssh -i /etc/letsencrypt/renewkey -o "StrictHostKeyChecking no" letsencrypt@$i $(< $LETSENCRYPT_TOKEN ) $1 $2
done