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
13 views

GnuTLS not found in MSYS2 build - fixable?

I installed emacs 29.1 through git for Windows SDK which installs a subset of MSYS2 with the package manager pacman. pacman -S mingw-w64-x86_64-emacs When I start this emacs up, it gives this message:...
hatmatrix's user avatar
  • 1,046
0 votes
0 answers
48 views

gnutls-available-p is void despite emacs being built with gnutls

I am attempting to secure my emacs 28.1 following the well-known guide here. After running into a (seemingly common) error with the bad certificate check I was lead to this emacs stackexchange post. ...
CL40's user avatar
  • 123
0 votes
0 answers
64 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 ...
erjoalgo's user avatar
  • 853
1 vote
1 answer
562 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 ...
Vignesh S's user avatar
0 votes
2 answers
908 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 ...
twicetwice's user avatar
3 votes
3 answers
1k 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 *...
Jermog's user avatar
  • 71
2 votes
0 answers
331 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: ...
halloleo's user avatar
  • 1,291
0 votes
2 answers
2k 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 ...
EightyEight's 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-...
Joseph Tesfaye's user avatar
1 vote
1 answer
948 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 ...
kozina-adjacent's user avatar
0 votes
1 answer
53 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" ...
Picaud Vincent's 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 ...
Lee Jordan's user avatar
0 votes
0 answers
801 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" ...
The Dude's user avatar
  • 463
3 votes
0 answers
735 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 ...
Prasanna's user avatar
  • 1,470
8 votes
1 answer
3k 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/") ("...
York's user avatar
  • 221
1 vote
1 answer
791 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 ...
unhammer's user avatar
  • 1,127
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 ...
Omar's user avatar
  • 4,732
1 vote
1 answer
424 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. ...
healyp's user avatar
  • 171
0 votes
1 answer
541 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, ...
Startec's user avatar
  • 1,354
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 ...
Galder Zamarreño's 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. ...
shackra's user avatar
  • 2,722
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 ...
Kirill's 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 ...
Hideki Saito's user avatar
1 vote
1 answer
670 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 ...
modulitos's user avatar
  • 2,442
1 vote
0 answers
297 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: ...
bitops's user avatar
  • 333
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 ...
Matthew Piziak's user avatar
2 votes
2 answers
139 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 ...
TomRoche's user avatar
  • 592
3 votes
1 answer
954 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....
erjoalgo's user avatar
  • 853
6 votes
2 answers
2k 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: _ _ _ _ _ ...
Sean Allred's user avatar
  • 6,861
2 votes
1 answer
1k 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] ...
shackra's user avatar
  • 2,722