Improve ssl cert symlinking
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user