Allow adding extra CA certificates to the system

This commit is contained in:
Quentin Machu 2016-04-29 17:25:45 -04:00
parent aadb22aaca
commit 1207a71308

View file

@ -7,4 +7,9 @@ cp mitm-key.pem /conf/mitm.key
cp mitm.pem /conf/mitm.cert
cp mitm.pem /usr/local/share/ca-certificates/mitm.crt
# Add extra trusted certificates
if [ -d /conf/stack/extra_ca_certs ]; then
cp /conf/stack/extra_ca_certs/* /usr/local/share/ca-certificates/
fi
update-ca-certificates