From 653cd997a108bf83294cc1aac8594f4f5f3503c0 Mon Sep 17 00:00:00 2001 From: Evan Cordell Date: Thu, 25 May 2017 17:50:25 -0400 Subject: [PATCH] fixes install of certs --- conf/init/certs_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/init/certs_install.sh b/conf/init/certs_install.sh index 1d680206a..3464c5e09 100755 --- a/conf/init/certs_install.sh +++ b/conf/init/certs_install.sh @@ -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/