add support for archlinux
archlinux has ca certificates in different place than Fedora
This commit is contained in:
parent
8817a7b1c8
commit
a0cb766381
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue