bugfix certificat

This commit is contained in:
Francois Lesueur 2022-12-23 18:07:37 +01:00
parent 6c643405b2
commit d7807b6d58

View File

@ -25,7 +25,7 @@ fi
# On place les certifs # On place les certifs
if [ -d letsencrypt ]; then if [ -d letsencrypt ]; then
cp -ar letsencrypt /etc/ cp -ar letsencrypt /etc/
cp /etc/letsencrypt/local/rootCA.pem /usr/local/share/ca-certificates/rootCA.crt cp /etc/letsencrypt/local/rootCA.pem /usr/local/share/ca-certificates/root.crt
/usr/sbin/update-ca-certificates --fresh /usr/sbin/update-ca-certificates --fresh
fi fi
@ -34,7 +34,7 @@ echo -e '{
"policies": { "policies": {
"Certificates": { "Certificates": {
"ImportEnterpriseRoots": true, "ImportEnterpriseRoots": true,
"Install": ["/etc/ssl/certs/rootCA.pem"] "Install": ["/etc/ssl/certs/root.pem"]
} }
} }
}' > /usr/lib/firefox-esr/distribution/policies.json }' > /usr/lib/firefox-esr/distribution/policies.json