Lines Matching refs:certsdir
42 "[-nv] [-C <config>] [-c <certsdir>] [-u <untrusted>]"
52 certsdir=/etc/openssl/certs
68 c) certsdir=$OPTARG;;
353 # the certsdir. Sorted lexicographically by vis-encoding.
414 # Delete and rebuild certsdir.
421 # certsdir, but succeed anyway so this can safely be used in
430 if [ -f "$certsdir/.certctl" ]; then
433 run rm -rf -- "$certsdir"
434 elif [ -h "$certsdir" ]; then
441 elif [ ! -e "$certsdir" ]; then
444 elif [ ! -d "$certsdir" ]; then
447 elif ! find -f "$certsdir" -- -maxdepth 0 -type d -empty -exit 1; then
448 # certsdir exists, is a directory, and is empty. Safe
450 run rmdir -- "$certsdir"
455 run mkdir -- "$certsdir"
457 printf '# initialize %s\n' "$certsdir"
461 >$certsdir/.certctl
476 run ln -s -- "$cert" "$certsdir"
488 run openssl rehash -- "$certsdir"
491 bundle=$certsdir/ca-certificates.crt