2 parents 12646ec + 8915bde commit 9ef90f7Copy full SHA for 9ef90f7
1 file changed
scripts/run_certbot.sh
@@ -31,7 +31,7 @@ issueCertificate() {
31
}
32
33
copyCertificate() {
34
- local d=${CERT_DOMAIN} # shorthand
+ local d=${CERT_DOMAIN%%,*} # in case of multi-host domains, use first name only
35
36
# certs are copied to /certs directory
37
if [ "$CONCAT" = true ]; then
@@ -57,7 +57,7 @@ processCertificates() {
57
# - CONCAT
58
# - CERTBOT_ARGS
59
60
61
62
if [ -d /etc/letsencrypt/live/$d ]; then
63
cert_path=$(find /etc/letsencrypt/live/$d -name cert.pem -print0)
0 commit comments