31
votes
Accepted
How do I install GnuTLS for Emacs 25.1 on Windows?
@StuartHickinbottom explained what I was doing wrong: using libgnutls-28.dll when Emacs 25.1 requires the newer and incompatible libgnutls-30.dll. Then it was a matter of finding binaries of libgnutls-...
8
votes
How can I retrieve an HTTPS URL on Mac OS X without warnings about an untrusted authority?
Add /private/etc/ssl/cert.pem to gnutls-trustfiles:
M-x customize-variable
Customize variable: gnutls-trustfiles
Select the last [INS]
Bundle filename: /private/etc/ssl/cert.pem
Select [ Apply and ...
4
votes
Accepted
TLS connection to Melpa.org hanging on prelude
I got around this by first starting emacs with emacs --insecure and once that worked and downloaded and what it needed, I was able to start emacs --daemon fine.
4
votes
Accepted
Emacs TLS check is still ill-configured
I found this reddit comment, which states that the problem is Emacs built-in TLS doesn't reject bad certificates. It proposes using external TLS like this:
(if (fboundp 'gnutls-available-p)
(...
4
votes
Accepted
How can I retrieve an HTTPS URL on Mac OS X without warnings about an untrusted authority?
To solve this issue it seems sufficient to:
Set gnutls-verify-error to t, and
Add an appropriate trusted root certificate file to gnutls-trustfiles - the default setting for that list does not ...
3
votes
Send email with gnus via ssl port 465
I had the same problem. Could send mail from home but not at university. I struggle with it for days. I was already using but I was using the port 587. Then changing to port 465 did the job.
So may ...
3
votes
Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans
This worked for me. Thank-you.
Specifically, I added the line (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") to my init.el. Actually a better way to set variables is with this ...
2
votes
Accepted
Accessing HTTPS sites with mac emacs 26.3
Your question is similar to the old one accessing MELPA/ELPA sites, also https - so there are two possible solutions to solve that:
Upgrade to emacs version 26.3, this is solved there; - but seems to ...
2
votes
Can't connect to package managers on multiple computers
This problem was solved by forcing emacs to use https instead of http. For some reason, emacs is using http as default instead of https.
Steps to solve:
(customize-variable RET package-archives)
...
1
vote
Accepted
Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans
I can't mark a comment as an answer, so I will copy the comment of phils to mark it as a solution.
"I believe you want https for both gnu and melpa, and furthermore that marmalade may no longer ...
1
vote
Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans
I found I also needed the below:
gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"
Edit:
I have since lost the site that I have found this. When I would try and issue a package-list-packages ...
1
vote
Cannot access ELPA from Emacs behind a corporate proxy (Mac)
Emacs package.el supports local package repo.
So here is the solution,
Create a local repo from your installed packages using https://github.com/redguardtoo/elpa-mirror
Add local repo path to ...
1
vote
Accepted
Cannot access ELPA from Emacs behind a corporate proxy (Mac)
I was able to work around this issue by using Squid as described here. Note that I still see the elpa.gnu.org/0 nodename nor servname provided, or not known error.
1
vote
Failed to update packages getting error "gnutls-error #<process elpa.gnu.org> -50" on Windows 10
I solved this by setting the variable gnutls-algorithm-priority to TLS-1.2.
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.2").
It's because on Windows or Windows Subsystem Linux (WSL) the ...
1
vote
Can't connect to package managers on multiple computers
When in doubt, simplify. Start your Emacs with emacs -Q to disable initialization. Then in the *scratch* buffer, evaluate the following lines by hitting Ctrl+j after each lisp line. Afterwards your *...
1
vote
M-x list-package fails with error "certificate could not be verified"
After much digging, I believe a common cause of this is likely a combination of two things:
elpa.gnu.org is misconfigured, sending its own certificate in duplicate before the issuer certificate - ...
1
vote
gnutls-negotiate: Certificate validation failed for [hostname] verification code 402
I tried gnutls-cli hostname -p 9001 to check if there actually was a problem with the cert (and not just my Emacs 25) and it turns out the certificate was expired. So it seems Emacs 24 didn't care ...
1
vote
smtpmail.el: How to tell if gnutls has started
You have hopefully figured this out by now but I think you need (setq smtpmail-stream-type 'starttls). You've specified TLS directly which won't work if the service expects unencrypted connections at ...
1
vote
Emacs mail - The TLS connection was non-properly terminated
Below are my settings for sending mail through GMail:
(require 'nnir)
(setq gnus-select-method
'(nnimap "gmail"
(nnimap-address "imap.gmail.com")
(nnimap-server-...
1
vote
TLS connection to Melpa.org hanging on prelude
On Windows 10, I solved the problem by starting Emacs with the admin prompt (seems that admin rights matter). Also, you should check on whether gnutls is properly installed, following the instructions ...
1
vote
Accepted
GnuTLS / OpenSSL hangs on Windows when accessing Gmail
Thanks to comments posted by legoscia, it is functioning!
Mainly, I had to remove tls-program definition.
(setq tls-program '("c:/Progra~2/Git/bin/openssl.exe s_client -connect %h:%p -no_ssl2 -...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gnutls × 30ssl × 8
package-repositories × 7
microsoft-windows × 4
email × 3
gnus × 3
smtpmail × 3
security × 3
package × 2
http × 2
org-mode × 1
init-file × 1
osx × 1
start-up × 1
linux × 1
install × 1
error-handling × 1
prelude × 1
url × 1
encryption × 1
list-packages × 1
erc × 1
networking × 1
proxy × 1
debian × 1