From c6fc61f14bb277cd4267d236929ef3a92897e4b8 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Tue, 10 Sep 2019 02:44:52 +0200 Subject: [PATCH] Correctly install ECDSA certificate Follow-up to f6ec21851dcf417c13333179a0f933d1dcc3faa1 --- templates/web.letsencrypt.ssl.template.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/web.letsencrypt.ssl.template.yml b/templates/web.letsencrypt.ssl.template.yml index 66b9741..8774bb0 100644 --- a/templates/web.letsencrypt.ssl.template.yml +++ b/templates/web.letsencrypt.ssl.template.yml @@ -77,8 +77,8 @@ hooks: LE_WORKING_DIR="${LETSENCRYPT_DIR}" $$ENV_LETSENCRYPT_DIR/acme.sh \ --installcert \ -d $$ENV_DISCOURSE_HOSTNAME \ - --fullchainpath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME$1.cer \ - --keypath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME$1.key \ + --fullchainpath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.cer \ + --keypath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME.key \ --reloadcmd "sv reload nginx" ######################################################## @@ -92,10 +92,10 @@ hooks: fi LE_WORKING_DIR="${LETSENCRYPT_DIR}" $$ENV_LETSENCRYPT_DIR/acme.sh \ - --installcert \ + --installcert --ecc \ -d $$ENV_DISCOURSE_HOSTNAME \ - --fullchainpath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME$1.cer \ - --keypath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME$1.key \ + --fullchainpath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME_ecc.cer \ + --keypath /shared/ssl/$$ENV_DISCOURSE_HOSTNAME_ecc.key \ --reloadcmd "sv reload nginx" if cert_exists "" || cert_exists "_ecc"; then -- 2.25.1