summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-10-31 15:01:56 +0100
committerGravatar Tom Willemse2014-10-31 15:01:56 +0100
commit7296051d56252128709f0f4423e113200c611965 (patch)
tree34fba98f5ea816364c6d413e1b36074217cf218c /emacs/.emacs.d/init.org
parentca2ce63ae050f044f17df40d40e9875e3c350f3c (diff)
downloaddotfiles-7296051d56252128709f0f4423e113200c611965.tar.gz
dotfiles-7296051d56252128709f0f4423e113200c611965.zip
Reject invalid SSL/TLS certificates
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 398551c..cd9e358 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1020,6 +1020,17 @@
(setq electric-pair-skip-whitespace 'chomp)
#+END_SRC
+* Reject SSL/TLS certificates that don't check out
+
+ You just can't trust the internet. And I'd prefer to know if
+ something goes wrong.
+
+ #+BEGIN_SRC emacs-lisp
+ (defvar gnutls-verify-error)
+
+ (setq gnutls-verify-error t)
+ #+END_SRC
+
* Programming
Emacs is a real programmer's editor, especially so because it's so