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

Commit ef3d5e7

Browse files
authored
Merge pull request #250 from linuxserver/fixkeys
Fix bundle key generation
2 parents 38a1b52 + 4c6dd96 commit ef3d5e7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ This will *ask* Google et al not to index and list your site. Be careful with th
141141

142142
## Versions
143143

144+
+ **30.12.18:** Fix bundle key generation.
144145
+ **19.12.18:** Add ipv6 and http/2 support to default site config.
145146
+ **08.12.18:** Had to remove cert renewal during container start due to certbot's new undocumented "feature" of up to 8 minute random delay.
146147
+ **03.12.18:** Fix silly bug resetting the duckdns token.

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)