Fix letsencrypt chellange (#156)

* Fix generation

* Update config.json
This commit is contained in:
Pascal Vizeli
2017-07-29 10:31:01 +02:00
committed by GitHub
parent d7775c4cb8
commit 47ec1579d8
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Let's Encrypt",
"version": "1.0",
"version": "1.1",
"slug": "letsencrypt",
"description": "Manage Let's Encrypt certificate",
"url": "https://home-assistant.io/addons/lets_encrypt/",

View File

@@ -15,9 +15,9 @@ mkdir -p "$CERT_DIR"
# Select challenge
if [ "$CHALLENGE" == "http" ]; then
CERTBOT_CHALLENGE="http-01"
CERTBOT_CHALLENGE="http"
else
CERTBOT_CHALLENGE="tls-sni-01"
CERTBOT_CHALLENGE="tls-sni"
fi
# Generate new certs