|
@ -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 |
|
|