fix usage of CA_BUNDLES_PATH env for local ca_bundles
This commit is contained in:
parent
bd64fb4214
commit
5a967302dc
|
@ -3847,7 +3847,7 @@ determine_trust() {
|
||||||
if [[ -z $CA_BUNDLES_PATH ]]; then
|
if [[ -z $CA_BUNDLES_PATH ]]; then
|
||||||
ca_bundles="$TESTSSL_INSTALL_DIR/etc/*.pem"
|
ca_bundles="$TESTSSL_INSTALL_DIR/etc/*.pem"
|
||||||
else
|
else
|
||||||
ca_bundles="${CA_BUNDLES_PATH/*.pem}"
|
ca_bundles="$CA_BUNDLES_PATH/*.pem"
|
||||||
fi
|
fi
|
||||||
for bundle_fname in $ca_bundles; do
|
for bundle_fname in $ca_bundles; do
|
||||||
certificate_file[i]=$(basename ${bundle_fname//.pem})
|
certificate_file[i]=$(basename ${bundle_fname//.pem})
|
||||||
|
|
Loading…
Reference in New Issue