Skip to content

Commit 8e36734

Browse files
authored
Merge pull request #218 from buchdag/reuse-key
enable simp_le private key reutilisation
2 parents 4c9d63d + a093ebf commit 8e36734

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ $ docker run -d \
159159

160160
* `DEBUG` - Set it to `true` to enable debugging of the entrypoint script and generation of LetsEncrypt certificates, which could help you pin point any configuration issues.
161161

162+
* `REUSE_KEY` - Set it to `true` to make simp_le reuse previously generated private key instead of creating a new one on certificate renewal. Recommended if you intend to use HPKP.
163+
162164
* The "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true" label - set this label on the nginx-proxy container to tell the docker-letsencrypt-nginx-proxy-companion container to use it as the proxy.
163165

164166
* `ACME_TOS_HASH` - Let´s you pass an alternative TOS hash to simp_le, to support other CA´s ACME implentation.

app/letsencrypt_service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ update_certs() {
6969

7070
params_d_str=""
7171
[[ $DEBUG == true ]] && params_d_str+=" -v"
72+
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
7273

7374
hosts_array_expanded=("${!hosts_array}")
7475
# First domain will be our base domain

0 commit comments

Comments
 (0)