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.

151 questions
21
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,406
  • 6
  • 32
  • 48
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
  • 633
  • 1
  • 5
  • 11
10
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,648
  • 14
  • 19
10
votes
5 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
  • 143
  • 1
  • 1
  • 5
9
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
  • 308
  • 1
  • 10
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
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
  • 141
  • 1
  • 1
  • 5
7
votes
1 answer

How to see if git binary is using openssl or gnutls?

I'm trying to debug a strange issue with git clone, https protocol, of one specific repo using Ubuntu with a corporate proxy. The same thing works in CentOS, Fedora distros but not on Ubuntu or Debian in our environment. Apparently in Ubuntu…
eis
  • 51,991
  • 13
  • 150
  • 199
7
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,162
  • 10
  • 9
6
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
  • 16,299
  • 28
  • 108
  • 203
5
votes
0 answers

GNUTLS Client-Server TLS handshake error

I am using two sample examples given by gnutls: "Simple client example with X.509 certificate support" without any change "Echo server with X.509 authentication". I have generated the private key "key.pem" using certtool and self-signed…
blaybel
  • 77
  • 6
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,206
  • 1
  • 10
  • 26
4
votes
0 answers

VLC chromecast cast fails on untrusted certificate

I'm trying to stream video using VLC on Ubuntu to Xiaomi mi box (thru chromecast). When I'm trying to stream, the chromecast recognizing it stream but then it stuck on black screen with only the title of the video. I looked in the logs and found: …
matanper
  • 881
  • 8
  • 24
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
  • 12,664
  • 15
  • 61
  • 101
1
2 3
10 11