Skip to content

Commit

Permalink
put default certs back in
Browse files Browse the repository at this point in the history
  • Loading branch information
mchyzer committed Mar 11, 2024
1 parent a003d53 commit ae42d51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions container_files/usr-local-bin/libraryPrep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,15 @@ prep_finishBegin() {
fi

fi
# default the cert path
if [ -z "$GROUPER_SSL_CERT_FILE" ] && [ -f /etc/pki/tls/certs/host-cert.pem ] ; then
echo "grouperContainer; INFO: (libraryPrep.sh-prep_finishBegin) export GROUPER_SSL_CERT_FILE=/etc/pki/tls/certs/host-cert.pem"
export GROUPER_SSL_CERT_FILE=/etc/pki/tls/certs/host-cert.pem
fi
if [ -z "$GROUPER_SSL_KEY_FILE" ] && [ -f /etc/pki/tls/private/host-key.pem ] ; then
echo "grouperContainer; INFO: (libraryPrep.sh-prep_finishBegin) export GROUPER_SSL_KEY_FILE=/etc/pki/tls/private/host-key.pem"
export GROUPER_SSL_KEY_FILE=/etc/pki/tls/private/host-key.pem
fi
if [ -z "$GROUPER_SSL_CHAIN_FILE" ] ; then

if [ -f /etc/pki/tls/certs/cachain.pem ]; then
Expand Down

0 comments on commit ae42d51

Please sign in to comment.