Merge pull request #81708 from yegortimoshenko/acme-fullchain-force-symlink

nixos/acme: force symlink from fullchain.pem to cert.pem
This commit is contained in:
Silvan Mosberger 2020-03-04 19:33:39 +01:00 committed by GitHub
commit b38344b54c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ in
cp -p ${spath}/certificates/${keyName}.key key.pem
cp -p ${spath}/certificates/${keyName}.crt fullchain.pem
cp -p ${spath}/certificates/${keyName}.issuer.crt chain.pem
ln -s fullchain.pem cert.pem
ln -sf fullchain.pem cert.pem
cat key.pem fullchain.pem > full.pem
chmod ${rights} *.pem
chown '${data.user}:${data.group}' *.pem