File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4
4
5
5
seconds_to_wait=3600
6
6
ACME_CA_URI=" ${ACME_CA_URI:- https:// acme-v01.api.letsencrypt.org/ directory} "
7
- ACME_TOS_HASH=" ${ACME_TOS_HASH:- 6373439b9f29d67a5cd4d18cbc7f264809342dbf21cb2ba2fc7588df987a6221} "
8
7
DEFAULT_KEY_SIZE=4096
9
8
10
9
source /app/functions.sh
@@ -69,6 +68,7 @@ update_certs() {
69
68
70
69
params_d_str=" "
71
70
[[ $DEBUG == true ]] && params_d_str+=" -v"
71
+ [[ -n $ACME_TOS_HASH ]] && params_d_str+=" --tos_sha256 $ACME_TOS_HASH "
72
72
[[ $REUSE_KEY == true ]] && params_d_str+=" --reuse_key"
73
73
[[ " ${1} " == " --force-renew" ]] && params_d_str+=" --valid_min 7776000"
74
74
@@ -113,7 +113,6 @@ update_certs() {
113
113
echo " Creating/renewal $base_domain certificates... (${hosts_array_expanded[*]} )"
114
114
/usr/bin/simp_le \
115
115
-f account_key.json -f key.pem -f chain.pem -f fullchain.pem -f cert.pem \
116
- --tos_sha256 $ACME_TOS_HASH \
117
116
$params_d_str \
118
117
--cert_key_size=$cert_keysize \
119
118
--email " ${! email_varname} " \
Original file line number Diff line number Diff line change 6
6
apk --update add python py-setuptools git gcc py-pip musl-dev libffi-dev python-dev openssl-dev
7
7
8
8
# Get Let's Encrypt simp_le client source
9
- branch=" 0.5.1 "
9
+ branch=" 0.6.2 "
10
10
mkdir -p /src
11
11
git -C /src clone --depth=1 --branch $branch https://github.com/zenhack/simp_le.git
12
12
You can’t perform that action at this time.
0 commit comments