summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-04-27 09:11:04 +0200
committerAlan Pearce2017-04-27 09:11:04 +0200
commit9b369edd4389881ef2010b97c201c1262fb97158 (patch)
treea2ece7b7901d0cd65904ff6b9c6b76052861bf3e
parent10a2aadd3a2812a2a9ab7fc32b027f12055e0bfc (diff)
downloadnixfiles-9b369edd4389881ef2010b97c201c1262fb97158.tar.lz
nixfiles-9b369edd4389881ef2010b97c201c1262fb97158.tar.zst
nixfiles-9b369edd4389881ef2010b97c201c1262fb97158.zip
Emacs: Make sure to use the system CA certificate store
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 034ac0b2..eaa6b292 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -62,6 +62,8 @@ the buffer to be empty.
                                      ("melpa" . 0))
         package-menu-async t
         package-menu-hide-low-priority t)
+  (when (eq system-type 'darwin)
+    (add-to-list 'gnutls-trustfiles "/etc/ssl/cert.pem"))
   (package-initialize)
   (unless (package-installed-p 'use-package)
     (package-refresh-contents)