Merge pull request #1419 from coreos-inc/extra_ca
Allow adding extra CA certificates
This commit is contained in:
commit
fdf81860a1
1 changed files with 5 additions and 0 deletions
|
@ -7,4 +7,9 @@ cp mitm-key.pem /conf/mitm.key
|
||||||
cp mitm.pem /conf/mitm.cert
|
cp mitm.pem /conf/mitm.cert
|
||||||
cp mitm.pem /usr/local/share/ca-certificates/mitm.crt
|
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
|
update-ca-certificates
|
||||||
|
|
Reference in a new issue