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,11 @@
#!/bin/bash
export LETSENCRYPT_CHALLENGE_SERVERS="{{ cert_backend.challengeserver|join(' ') }}"
export LETSENCRYPT_CSR="{{ cert.csrpath }}"
export LETSENCRYPT_CRT="{{ cert.certpath }}"
export LETSENCRYPT_KEY="{{ cert.keypath }}"
export LETSENCRYPT_CHAIN="{{ cert.chainpath }}"
export LETSENCRYPT_FULL="{{ cert.fullpath }}"
export LETSENCRYPT_TOKEN="/etc/letsencrypt/cert_{{ certname }}.token"
export LETSENCRYPT_SERVICES="{{ cert.depending_services }}"
export LETSENCRYPT_REMAININGDAYS="{{ cert_backend.remainingdays }}"