I have problems upgrading packages coming from melpa:
When executing list-package
with "https://melpa.org/packages/"
in the package-archives
I get the following in the *Messages*
buffer:
Using a proxy for https...
gnutls.c: [0] (Emacs) Received alert: Handshake failed
gnutls.el: (err=[-12] A TLS fatal alert has been received.) boot: (:priority NORMAL :hostname melpa.org :loglevel 0 :min-prime-bits nil :trustfiles (/etc/pki/tls/certs/ca-bundle.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
error in process filter: End of file during parsing
I guess this is an SSL/TLS issue, so I checked:
- I had Emacs compile with the default gnutls support.
- I have set
(setq package-check-signature nil)
before(package-initialize)
Does Emacs needs to know some certificates for melpa?
More environment info:
- Emacs is 27.1 compiled from source.
- OS is CentOS 6. (Cannot change the OS.)
- Connection is via a local proxy (which does not need any authentication).