From ab0bd3b38f2eb4f813c0b55d61bd12da302eaee4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 7 Sep 2018 10:19:48 -0300 Subject: Add macOS specific TLS config for Emacs. --- spacemacs.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spacemacs.el') diff --git a/spacemacs.el b/spacemacs.el index 8317b0a..0cd545c 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -2,6 +2,12 @@ ;; This file is loaded by Spacemacs at startup. ;; It must be stored in your home directory. + +;; macOS TLS error, fix from: +;; https://blog.vifortech.com/posts/emacs-tls-fix/ +(require 'gnutls) +(add-to-list 'gnutls-trustfiles "/usr/local/etc/openssl/cert.pem") + (defun dotspacemacs/layers () "Layer configuration: This function should only modify configuration layer settings." -- cgit v1.2.3