From e850fedf8a8a093ac2b3a49a4c36eea9c9720e64 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 2 Apr 2022 12:11:45 -0400 Subject: [PATCH] Improve ssl cert symlinking --- installJRMC | 1 + 1 file changed, 1 insertion(+) diff --git a/installJRMC b/installJRMC index 7e41560..8572ae6 100755 --- a/installJRMC +++ b/installJRMC @@ -750,6 +750,7 @@ symlinkCerts() { [[ -f $target_cert ]] && return 0 + # Have to use command array instead of eval because of whitespace in $mc_cert_link if [[ -f /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ]]; then ln_cmd=("sudo" "ln" "-fs" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" "$mc_cert_link") # For RHEL elif [[ -f /var/lib/ca-certificates/ca-bundle.pem ]]; then