acme: Fix for curl linked against mbed TLS. (#4254)

Use newest acme.sh release (2.6.8).
Remove dependency on ca-certificates and add dependency on ca-bundle.
Update environment variable.

Signed-off-by: Daniel Halmschlager <da@halms.at>

Backport to 17.01 for compatibility with 17.01.2, but keep the old envvar so
it'll hopefully keep working for users who haven't upgraded.

Closes #4579, closes #4699.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
This commit is contained in:
Daniel H
2017-04-12 22:51:58 +02:00
committed by Toke Høiland-Jørgensen
parent 5383fd42e9
commit 788f17e98d
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -10,7 +10,11 @@
CHECK_CRON=$1
ACME=/usr/lib/acme/acme.sh
# We export both ca variables in an attempts to keep backwards
# compatibility with older versions of curl that was linked against
# openssl
export SSL_CERT_DIR=/etc/ssl/certs
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
export NO_TIMESTAMP=1
UHTTPD_LISTEN_HTTP=