Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 03874a0

Browse files
authored
fix bundle key generation
1 parent 38a1b52 commit 03874a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

root/app/le-renew.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ if [ "$ORIGVALIDATION" = "dns" ] || [ "$ORIGVALIDATION" = "duckdns" ]; then
1313
cd /config/keys/letsencrypt && \
1414
openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass: && \
1515
sleep 1 && \
16-
cat {privkey,fullchain}.pem > priv-fullchain-bundle.pem"
16+
cat privkey.pem fullchain.pem > priv-fullchain-bundle.pem"
1717
else
1818
certbot -n renew \
1919
--pre-hook "if ps aux | grep [n]ginx: > /dev/null; then s6-svc -d /var/run/s6/services/nginx; fi" \
2020
--post-hook "if ps aux | grep 's6-supervise nginx' | grep -v grep > /dev/null; then s6-svc -u /var/run/s6/services/nginx; fi; \
2121
cd /config/keys/letsencrypt && \
2222
openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass: && \
2323
sleep 1 && \
24-
cat {privkey,fullchain}.pem > priv-fullchain-bundle.pem"
24+
cat privkey.pem fullchain.pem > priv-fullchain-bundle.pem"
2525
fi

0 commit comments

Comments
 (0)