Browse Source

Improve ssl cert symlinking

bryan 2 years ago
parent
commit
e850fedf8a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      installJRMC

+ 1 - 0
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