add support to autrenew letsencrypt certificates, still testing
This commit is contained in:
parent
12895a364f
commit
0e0c634e37
9 changed files with 179 additions and 23 deletions
11
templates/letsencrypt_renew_config.j2
Normal file
11
templates/letsencrypt_renew_config.j2
Normal 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 }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue