Skip to content

Commit

Permalink
Merge pull request #460 from SUSE/fix_ca_install_for_rh8
Browse files Browse the repository at this point in the history
use 'update-ca-certificates' and /etc/pki/ca-trust/source/anchors/ as a directory on RH8
  • Loading branch information
digitaltom authored Aug 26, 2019
2 parents c3f08fa + 2acb3f0 commit 08dc218
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/tools/rmt-client-setup
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ CA_GEN_TRUSTSTORE_CMD="/usr/bin/c_rehash"
if [ -d "/etc/pki/trust/anchors/" ] && [ -x "/usr/sbin/update-ca-certificates" ]; then
CA_TRUSTSTORE="/etc/pki/trust/anchors/"
CA_GEN_TRUSTSTORE_CMD="/usr/sbin/update-ca-certificates"
elif [ -d "/etc/pki/ca-trust/source/anchors/" ] && [ -x "/usr/bin/update-ca-trust" ]; then
# this path is used on RES8
CA_TRUSTSTORE="/etc/pki/ca-trust/source/anchors/"
CA_GEN_TRUSTSTORE_CMD="/usr/bin/update-ca-trust"
elif [ -d $CA_TRUSTSTORE ] && [ -x $CA_GEN_TRUSTSTORE_CMD ]; then
CA_GEN_TRUSTSTORE_CMD="$CA_GEN_TRUSTSTORE_CMD $CA_TRUSTSTORE"
fi
Expand Down

0 comments on commit 08dc218

Please sign in to comment.