Questions tagged [gnutls]

GnuTLS is a secure communications library implementing the SSL, TLS, and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Understanding certificate security warning

I'm encountering the below warning about a change in the fingerprint for a server I regularly connect to: Certificate information Issued by: R3 Issued to: CN=sms.erjoalgo.com ...
user avatar
  • 823
1 vote
1 answer
130 views

Failed to download ‘melpa-stable’ archive. GnuTLS : Contacting host: 443

I am trying to install packages/modes from melpa on my emacs27.1, but I am unable to do so. If I run M-x package-refresh-contents , I get the following error : Importing package-keyring.gpg...done ...
user avatar
0 votes
2 answers
526 views

Elpa + Melpa Certificate information issue at startup

I hadn't used Emacs for a few weeks and when I started it up I discovered issues with certificate information for elpa, melpa and orgmode. When I launch Emacs I get the following message: The TLS ...
user avatar
0 votes
0 answers
22 views

Does gnutls-log-level fix the Elpa issue in Emacs 26?

I was trying to fix the well known error for Emacs 26 on downloading packages from GNU Elpa. Playing around, it seems that setting the gnutls-log-level to >0 fixes the problem, without skipping the ...
user avatar
1 vote
3 answers
403 views

Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans

When I am trying to do M-x package-refresh-contents I get Contacting host: elpa.gnu.org:80 stuck until I do C-g. I tried to install a package and it didn't work through M-x package-install *...
user avatar
  • 51
2 votes
0 answers
267 views

Cannot upgrade packages when adding melpa to the package-archives

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: ...
user avatar
  • 1,061
0 votes
2 answers
1k views

Cannot access ELPA from Emacs behind a corporate proxy (Mac)

I'm having trouble accessing ELPA on my Mac from behind a corporate proxy. Emacs 27.1. I have http_proxy and https_proxy configured appropriately (I've also tried setting url-proxy-services). From ...
user avatar
1 vote
1 answer
2k views

Failed to update packages getting error "gnutls-error #<process elpa.gnu.org> -50" on Windows 10

When I run package-refresh-contents after running toggle-debug-on-error I get the following backtrace: Debugger entered--Lisp error: (gnutls-error #<process elpa.gnu.org> -50) signal(gnutls-...
user avatar
1 vote
1 answer
849 views

Accessing HTTPS sites with mac emacs 26.3

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 ...
user avatar
0 votes
1 answer
45 views

Wordpress blogging with org2blog, "Error during request: 400"

I used to use org2blog to post my wordpress posts. However, a few months ago, it suddenly stopped to work: when I tried to log in with org2blog/wp-login I had an "Error during request: 400" ...
user avatar
2 votes
2 answers
2k views

Can't connect to package managers on multiple computers

I just did a clean install of emacs 26.1 on multiple computers running different OS (Ubuntu, Mint, Windows), and for some reason I cannot update my packages using M-x refresh-package-contents. I've ...
user avatar
0 votes
0 answers
697 views

Sending email with gnutls stopped working

I've been using the following setup Gnus SMTP ;;; SMTP (defun email-settings () (interactive) (setq message-send-mail-function 'smtpmail-send-it starttls-gnutls-program "gnutls-cli" ...
user avatar
  • 453
3 votes
0 answers
643 views

Opening TLS Connection fails

I installed powerthesaurus package from MELPA. This package finds out synnyms of selected words from powerthesaurus.org. I installed all the dependencies (dom - to be specific which did not get ...
user avatar
  • 1,330
8 votes
1 answer
2k views

M-x list-package fails with error "certificate could not be verified"

My environment: Linux Mint 17.3 (based on Ubuntu 14.04) Emacs 25.3.1 The value of package-archives: (("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/") ("...
user avatar
  • 211
1 vote
1 answer
759 views

gnutls-negotiate: Certificate validation failed for [hostname] verification code 402

After upgrading to Emacs 25, I get gnutls-negotiate: Certificate validation failed for [hostname] verification code 402 on connecting to my weechat IRC proxy, with no prompt about accepting things ...
user avatar
  • 1,045
22 votes
1 answer
13k views

How do I install GnuTLS for Emacs 25.1 on Windows?

I just upgraded Emacs on my Windows 10 machine from 24.5 to 25.1. For Emacs 24.5 I had GnuTLS correctly setup and for 25.1 I did what I thought I remembered I did: Got prebuilt Emacs binaries from ...
user avatar
  • 4,612
1 vote
1 answer
397 views

smtpmail.el: How to tell if gnutls has started

Like the poster here I'm having difficulty connecting to an smtp server that uses tls. I have installed gnutls-cli but I am still getting an error, "530 5.7.0 Must issue a STARTTLS command first. ...
user avatar
  • 61
0 votes
1 answer
483 views

Emacs mail - The TLS connection was non-properly terminated

I am trying to send mail through emacs via my gmail account. I understand that this means it is senting using SMTP. However, when I go through the basic steps to send mail through my gmail account, ...
user avatar
  • 1,264
3 votes
2 answers
2k views

TLS connection to Melpa.org hanging on prelude

I've enabled some new packages in bbatsov's prelude and when I restart the emacs daemon, it hangs endlessly starting up showing this: Prelude is powering up... Be patient, Master g! Loading personal ...
user avatar
7 votes
1 answer
3k views

Emacs TLS check is still ill-configured

After reading this post I decided to harder the security of Emacs. However, after setting everything and doing the test, Emacs is still ill-configured. Everything is done in a GNU/Linux distribution. ...
user avatar
  • 2,574
7 votes
3 answers
3k views

How can I retrieve an HTTPS URL on Mac OS X without warnings about an untrusted authority?

The following code should in principle return the contents of https://badssl.com (with-current-buffer (url-retrieve-synchronously "https://badssl.com") (buffer-string)) But with my GNU Emacs ...
user avatar
  • 1,019
4 votes
2 answers
1k views

GnuTLS / OpenSSL hangs on Windows when accessing Gmail

I am trying to set up Gnus (on Emacs 24.5) on Windows to access Gmail through IMAP and it seems like the connection is choking when it attempt to connect to the IMAP server. (Seems like Gnus is not ...
user avatar
1 vote
1 answer
587 views

EPA (EasyPG Assistant): How to select which private key to use when encrypting?

How does 'epa-encrypt' decide which private key to use? If I have two private keys, and I've only shared one of my public keys with the recipient, and I encrypt with epa-encrypt-region and select the ...
user avatar
  • 2,330
0 votes
0 answers
287 views

url-http unable to connect to api - gnutls error

I am using restclient-mode and trying to POST JSON to an API I'm writing. Making curl requests works fine but I'm getting these errors from restclient.el: My restclient-mode request looks like this: ...
user avatar
  • 323
17 votes
2 answers
10k views

The TLS connection was non-properly terminated

When running package-list-packages I get the following errors: Failed to download `gnu' archive. gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. I am running Emacs ...
user avatar
2 votes
2 answers
128 views

crypto-newbie: how to securely sign outgoing email with `smtpmail` (or simplest alternative)?

I'm running $ cat /etc/debian_version jessie/sid $ uname -rv 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) $ gcc --version | head -n 1 gcc (Debian 4.8.2-1) 4.8.2 $ emacs --version | head -n 1 GNU ...
user avatar
  • 582
3 votes
1 answer
898 views

Send email with gnus via ssl port 465

I'm using gnus and trying to send email through it. This works for my gmail account (which receives outgoing emails on smpt port 587 using tls). My university uses smpt on port 465 and no tls, but ssl....
user avatar
  • 823
6 votes
2 answers
1k views

How can I use ERC with an IRC offered over SSL?

I'm trying to connect to Gitter's IRC servers to join the chat room vermiculus/stack-mode, but according to Gitter, they offer this service over SSL: _ _ _ _ _ ...
user avatar
  • 6,681
2 votes
1 answer
981 views

How do I set `gnutls-verify-error` to not check if certain hostname matches the certificate?

I have the host chat.deshackra.com pointing to tigase.im (with a CNAME entry), and I want to use the starttls connection type for my jabber.el account, however the connection fails: gnutls.c: [1] ...
user avatar
  • 2,574