summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStanko K.R <me@stanko.io>2019-05-04 22:47:26 +0200
committerStanko K.R <me@stanko.io>2019-05-04 22:47:26 +0200
commit41c5040b6adfaa0eb33337dfe22fa6ec2503797f (patch)
tree30037d7be29f1e945ab77a39dbad88929509d806 /bin
parentaaa188ce722c7da4a71112b0b0f6ef441a9bdceb (diff)
Add MacOS certificate store to search list
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 7484c9f..0deb448 100755
--- a/bin/mw
+++ b/bin/mw
@@ -21,7 +21,7 @@ muttrc="$muttdir/muttrc"
msmtprc="$HOME/.config/msmtp/config"
ssltype="IMAPS" # This is later changed to `None` later in the script if using Protonmail
-for x in "/etc/ssl/certs/ca-certificates.crt" "/etc/pki/tls/certs/ca-bundle.crt" "/etc/ssl/ca-bundle.pem" "/etc/pki/tls/cacert.pem" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"
+for x in "/etc/ssl/certs/ca-certificates.crt" "/etc/pki/tls/certs/ca-bundle.crt" "/etc/ssl/ca-bundle.pem" "/etc/pki/tls/cacert.pem" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" "/etc/ssl/cert.pem"
do
[ -f "$x" ] && sslcert="$x" && break
done || { echo "CA Certificate not found. Please install one or link it to /etc/ssl/certs/ca-certificates.crt" && exit 1 ;}