Fix SSL custom certs installation file for bash shell scripting bug
The missing quotes caused the script to fail with a bash error
This commit is contained in:
parent
90b130fe16
commit
da8032fe61
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ fi
|
|||
|
||||
# Add extra trusted certificates (as a directory)
|
||||
if [ -d /conf/stack/extra_ca_certs ]; then
|
||||
if test $(ls -A "/conf/stack/extra_ca_certs"); then
|
||||
if test "$(ls -A "/conf/stack/extra_ca_certs")"; then
|
||||
echo "Installing extra certificates found in /conf/stack/extra_ca_certs directory"
|
||||
cp /conf/stack/extra_ca_certs/* /usr/local/share/ca-certificates/
|
||||
cat /conf/stack/extra_ca_certs/* >> /venv/lib/python2.7/site-packages/requests/cacert.pem
|
||||
|
|
Reference in a new issue