1
0

Update simp_le to 0.7.0

This version implicitly and automatically agree to the ACME CA ToS.
The code related to the ToS hash was consequently removed.
This commit is contained in:
Nicolas Duchon 2018-01-11 21:45:54 +01:00
parent 3af5ae8b16
commit 400a7da28c
No known key found for this signature in database
GPG Key ID: 91EF7BB1EECB961A
4 changed files with 6 additions and 4 deletions

View File

@ -213,8 +213,6 @@ $ docker run -d \
* The `com.github.jrcs.letsencrypt_nginx_proxy_companion.docker_gen` label - set this label on the docker-gen container to tell the docker-letsencrypt-nginx-proxy-companion container to use it as the docker-gen when it's split from nginx (separate containers).
* `ACME_TOS_HASH` - Let´s you pass an alternative TOS hash to simp_le, to support other CA´s ACME implentation.
* `DOCKER_PROVIDER` - Set this to change behavior on container ID retrieval. Optional. Current supported values:
* No value (empty, not set): no change in behavior.
* `ecs` [Amazon ECS using ECS_CONTAINER_METADATA_FILE environment variable](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-metadata.html)

View File

@ -3,6 +3,11 @@
set -u
if [[ -n "${ACME_TOS_HASH:-}" ]]; then
echo -n "The ACME_TOS_HASH environment variable is no longer used by simp_le "
echo "and has been deprecated. simp_le now implicitly agree to the ACME CA ToS."
fi
DOCKER_PROVIDER=${DOCKER_PROVIDER:-docker}
case "${DOCKER_PROVIDER}" in

View File

@ -89,7 +89,6 @@ update_certs() {
fi
[[ $DEBUG == true ]] && params_d_str+=" -v"
[[ -n $ACME_TOS_HASH ]] && params_d_str+=" --tos_sha256 $ACME_TOS_HASH"
[[ $REUSE_PRIVATE_KEYS == true ]] && params_d_str+=" --reuse_key"
[[ "${1}" == "--force-renew" ]] && params_d_str+=" --valid_min 7776000"

View File

@ -6,7 +6,7 @@ set -e
apk --update add python py-setuptools git gcc py-pip musl-dev libffi-dev python-dev openssl-dev
# Get Let's Encrypt simp_le client source
branch="0.6.2"
branch="0.7.0"
mkdir -p /src
git -C /src clone --depth=1 --branch $branch https://github.com/zenhack/simp_le.git