Merge pull request #2670 from ecordell/fix-cert-install
fixes install of certs
This commit is contained in:
commit
4750d1c5ef
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ if [ -f /conf/stack/extra_ca_certs ]; then
|
||||||
cat /conf/stack/extra_ca_certs >> /venv/lib/python2.7/site-packages/requests/cacert.pem
|
cat /conf/stack/extra_ca_certs >> /venv/lib/python2.7/site-packages/requests/cacert.pem
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Add extra trusted certificates (prefixed)
|
# Add extra trusted certificates (prefixed)
|
||||||
for f in $(ls -p /conf/stack/extra_ca* | grep -v ':$' | grep -v '/$')
|
for f in $(find /conf/stack/ -maxdepth 1 -type f -name "extra_ca*")
|
||||||
do
|
do
|
||||||
echo "Installing extra cert $f"
|
echo "Installing extra cert $f"
|
||||||
cp "$f" /usr/local/share/ca-certificates/
|
cp "$f" /usr/local/share/ca-certificates/
|
||||||
|
|
Reference in a new issue