overwrite renewal hook, add notice about it, increase verbosity

This commit is contained in:
aptalca
2024-09-10 12:25:06 -04:00
parent ed0c949267
commit 0c3bc63349
5 changed files with 8 additions and 6 deletions
+2
View File
@@ -1,7 +1,9 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# Notice: This file will be overwritten when updated by lsio. Add your custom scripts into a new file in this folder.
cd /config/keys/letsencrypt || exit 1
echo "**** Generating pfx and fullchain bundle certs ****"
openssl pkcs12 -export -out privkey.pfx -inkey privkey.pem -in cert.pem -certfile chain.pem -passout pass:
sleep 1
cat {privkey,fullchain}.pem >priv-fullchain-bundle.pem