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.

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.

133 questions
18
votes
7 answers

Extract gnutls library files of tar.xz and tar.lz for ubuntu 10.04 LTS

I am very new to linux platform and I want to extract gnutls for ubuntu. If I do, $ls then, it will show these files below. gnutls-3.2.1.tar.lz gnutls-3.2.1.tar.lz.sig gnutls-3.2.1.tar.xz gnutls-3.2.1.tar.xz.sig When I give command, $ tar -xvf…
SHRI
  • 2,196
  • 6
  • 29
  • 45
15
votes
3 answers

cURL error 35: gnutls_handshake() failed

I am running into the following error from a PHP component that uses CURL to request a URI via SSL: cURL error 35: gnutls_handshake() failed: A TLS packet with unexpected length was received. This error occurs in the travis-ci.org environment, but…
Jonathan Maron
  • 533
  • 1
  • 4
  • 11
8
votes
2 answers

Ubuntu wsl2 git getting "The remote end hung up unexpectedly" on large repos

Getting this action for days in Ubuntu 19.04 in wsl2 on Windows. $ git clone https://github.com/gohugoio/hugo.git Cloning into 'hugo'... error: RPC failed; curl 56 GnuTLS recv error (-12): A TLS fatal alert has been received. fatal: The remote end…
smashedtoatoms
  • 1,398
  • 11
  • 17
7
votes
0 answers

GnuTLS recv error (-54): Error in the pull function

I have a PHP scraper that works perfectly on my local. But when I uploaded it to my VPS (Ubuntu 16.04), it's not able to get data from the website. Instead, it's showing this error message: "curl: (56) GnuTLS recv error (-54): Error in the pull…
Fatih Köse
  • 121
  • 1
  • 6
7
votes
1 answer

Server-side support for TLS-PSK

We are looking into supporting TLS-PSK for a set of constrained devices that do not have sufficient resources to do the normal TLS handshake using certificates. To that end we are looking for a TLS-PSK component, that we can integrate on our (cloud)…
Joost Reuzel
  • 238
  • 1
  • 9
5
votes
2 answers

How to create lib curl-gnutls.so.4

So, I'm an idiot, and I accidentally deleted the file libcurl-gnutls.so.4 on my Ubuntu system. Now I can't figure out how to recreate it. The actual error I'm getting is when I'm trying to use git: git-remote-https: error while loading shared…
user2701114
  • 111
  • 1
  • 1
  • 5
5
votes
1 answer

GnuTLS: Failed to acquire random data with GIT_SSH_COMMAND

I have a script that tries to clone Git repositories in the background, without the user being able to provide credentials. Thus, it sets GIT_SSH_COMMAND to enable OpenSSH batch mode. Example script that reproduces the problem: import subprocess,…
Niklas R
  • 14,369
  • 23
  • 82
  • 179
5
votes
1 answer

How can I make git tell curl to use openssl instead of gnutls without rebuilding the package?

We have an internal server that GnuTLS doesn't like, e.g: gnutls-cli --x509cafile /etc/ssl/certs/ca-certificates.crt foo.example.com Processed 173 CA certificate(s). Resolving 'foo.example.com'... Connecting to '1.2.3.4:443'... *** Verifying server…
lyte
  • 1,007
  • 10
  • 9
4
votes
2 answers

"Key usage violation in certificate" error with Subversion, VisualSVN Server

I'm using Eclipse (Indigo) with subclipse 3.6 in Ubuntu 11.10. I've connected to the svn with subclipse on other machines before no problem, but with my recently upgraded ubuntu machine (went from 11.04 to 11.10) it won't work. when I try to connect…
Boccobrock
  • 118
  • 1
  • 7
4
votes
2 answers

configure GnuTLS - libnettle 3.4.1 was not found - OS X Lion

I'm trying to build GnuTLS-3.x on my OS X Lion and here is my configure command: ./configure --prefix=/usr/local/gnutls-3.4.9 --with-included-libtasn1 --without-p11-kit It ends up checking for NETTLE... no configure: error: *** *** Libnettle…
Terry
  • 1,099
  • 7
  • 22
4
votes
2 answers

GnuTLS Libnettle 3.4 was not found

When I try to configure GnuTLS I'm getting the error that Libnettle 3.4 was not found. I've nettle 3.4.1-1 installed and the library files are present in /usr/lib. Even when I specify the environment variable NETTLE_LIBS directly (export…
DevJoe
  • 73
  • 1
  • 4
4
votes
0 answers

"The TLS connection was non-properly terminated" in Windows 10 Linux Subsystem

I recently reinstalled my computer and installed Linux Subsystem which I always do. When I wanted to run composer I noticed something strange. It failed because it was unable to establish a TLS connection. [RuntimeException] Failed to clone…
inquam
  • 11,960
  • 14
  • 53
  • 95
4
votes
4 answers

curl: (35) gnutls_handshake() failed: Public key signature verification has failed

I have an issue, when Im doing curl request or git push, that show me curl: (35) gnutls_handshake() failed: Public key signature verification has failed. curl --version curl 7.50.1 (x86_64-pc-linux-gnu) libcurl/7.50.1 GnuTLS/3.5.3 zlib/1.2.8…
mov eax
  • 51
  • 1
  • 1
  • 2
4
votes
0 answers

Failed to re-build pycurl with OpenSSL

I'm trying to rebuild pycurl with OpenSSL because of this bug. I use this example: sudo apt-get install build-essential fakeroot dpkg-dev mkdir ~/python-pycurl-openssl cd ~/python-pycurl-openssl sudo apt-get source python-pycurl sudo apt-get…
Valeria
  • 75
  • 6
3
votes
1 answer

Github unable to access... gnutls_handshake() failed:Close notify

When attempting to git clone any repository I get this error fatal: unable to access : gnutls_handshake() failed: Close notify Just incase it helps I am on a Raspberry Pi Zero. Git version: 2.1.4 libgnutls-deb0 version 3.3.8-6+deb9…
J03L
  • 294
  • 3
  • 16
1
2 3
8 9