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
|
||||
fi
|
||||
|
||||
## Add extra trusted certificates (prefixed)
|
||||
for f in $(ls -p /conf/stack/extra_ca* | grep -v ':$' | grep -v '/$')
|
||||
# Add extra trusted certificates (prefixed)
|
||||
for f in $(find /conf/stack/ -maxdepth 1 -type f -name "extra_ca*")
|
||||
do
|
||||
echo "Installing extra cert $f"
|
||||
cp "$f" /usr/local/share/ca-certificates/
|
||||
|
|
Reference in a new issue