fix perms on generated priv-fullchain-bundle.pem

This commit is contained in:
aptalca
2024-03-23 11:10:04 -04:00
parent 44c6bd721b
commit 4239dc22d4
3 changed files with 3 additions and 0 deletions

View File

@@ -5,4 +5,5 @@ cd /config/keys/letsencrypt || exit 1
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
chmod 600 priv-fullchain-bundle.pem
chown -R abc:abc /config/etc/letsencrypt