I'm working on a mac (Catalina 10.15.1) and I've recently switched from Aquamacs to GNU Emacs (updated to 26.3 build 1). In Aquamacs, I had no issues accessing https sites, though I'm unable to do this in my current GNU Emacs set up. Whenever I try to open an https website through eww, I'm sent to yahoo.com, which I'm guessing is a default is something goes wrong. I'm able to open all other http websites without a problem.
I've gone through the discussions here on emacs.stackexchange but to little avail. I see that I might need to install GnuTLS for TLS/SSL support for newer versions of Emacs. I installed it through homebrew. Now, when I run M-: (gnutls-available-p)
, Emacs returns the following:
(ClientHello\ Padding Key\ Share Post\ Handshake\ Auth PSK\ Key\ Exchange\ Modes Cookie Supported\ Versions Early\ Data Pre\ Shared\ Key Session\ Ticket Record\ Size\ Limit Extended\ Master\ Secret Encrypt-then-MAC ...)
Which suggests it's up and running. Per suggestions below, I added the following to my custom file:
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
Checked with C-h v
to make sure the variable was changed, but still getting the same results - all https sites go to yahoo.com.
I'm not terribly agile with programing in general and my question is whether there is some work around or a simple guide to help me figure out how to adjust things to access https sites. Any help would be much appreciated!