diff --git a/cipherscan b/cipherscan index e063fe8..cda1452 100755 --- a/cipherscan +++ b/cipherscan @@ -9,6 +9,9 @@ DOBENCHMARK=0 BENCHMARKITER=30 OPENSSLBIN="$(dirname $0)/openssl" CACERTS=${CACERTS:-/etc/pki/tls/certs/ca-bundle.crt} +if [ ! -e "$CACERTS" ]; then + CACERTS="/etc/ssl/certs/ca-certificates.crt" +fi if [ ! -e "$CACERTS" ]; then echo "Warning: CA Certificates not found at $CACERTS, export CACERTS variable with location of your trust anchors" 1>&2 fi