mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #492 from mailsvb/CA_BUNDLES_PATH
fix usage of CA_BUNDLES_PATH env for local ca_bundles
This commit is contained in:
commit
51912944ec
@ -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
Block a user