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
3
votes
2 answers

Shared library using static gnutls library has text relocations

Problem: I need to port gnutls to Android to be used in a shared library (say library A) I'm using in my Android application. What I've tried: I've modified the make file for openconnect to generate a .a static library file for gnutls and its…
Nonos
  • 2,327
  • 2
  • 20
  • 33
3
votes
0 answers

gnutls_handshake error at crawling https pages

I want to crawl some https pages with php curl. PHP throws the following error: gnutls_handshake() failed: A TLS fatal alert has been received. My php is self compiled with the following parameters: --with-curl --with-openssl. I've also set the…
David
  • 3,679
  • 9
  • 46
  • 95
3
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
  • 57
  • 6
3
votes
2 answers

Is the SSL now obsolete?

I begin learn the information protection and start from OpenSSL. But I read on the Wikipedia that SSL have trouble with security that still not solved and anyone must use TLS instead. Is it true? Is it mean that SSL now obsolete? (because there…
AeroSun
  • 2,077
  • 1
  • 17
  • 35
3
votes
1 answer

undefined reference to 'gnutls_...' functions

So for an assignment I need to use GnuTLS. I have downloaded gnutls by following this guide http://www.bauer-power.net/2014/06/how-to-install-gnutls-3123-from-source.html However, using any of the gnutls functions, similar to how they are used in…
patbuh
  • 315
  • 2
  • 17
3
votes
0 answers

What is: Fatal error: Uncaught CurlException: 52: GnuTLS recv error (-12): A TLS fatal alert has been received. - in Facebook PHP SDK

I'm developing a Facebook canvas application and sometimes (3 times in one week) I get this error (to be honest, this time it's a user getting the error): Fatal error: Uncaught CurlException: 52: GnuTLS recv error (-12): A TLS fatal alert has been…
Martin Fejes
  • 657
  • 12
  • 19
3
votes
1 answer

git clone: fatal: gnutls_handshake() failed

recently, trying to clone a git repo from my debian(jessie) box, i'm facing this: fatal: unable to access 'https://github.com/foo/bar/': gnutls_handshake() failed: A TLS packet with unexpected length was received. as mentioned by ubuntu folks i…
pajooh
  • 1,666
  • 2
  • 15
  • 17
3
votes
2 answers

Cross-compiling gmp with mingw-w64: inlining and multiple defintions

I'm trying to cross-compile VLC (from linux to windows) with gnutls support which in turn uses libgmp. I get linking errors for multiple definitions for symbols in libgmp (___gmpz_abs), for example, among countless others). I have in turn traced…
Jeremy Salwen
  • 7,126
  • 4
  • 43
  • 68
2
votes
0 answers

taskserver: client connection handshake failed

Issue client$ task sync Syncing with .localdomain:53589 Handshake failed. The TLS connection was non-properly terminated. Sync failed. Could not connect to the Taskserver TL;DR I'm pretty sure this isn't an issue with certificates, but…
2
votes
1 answer

How to compile emacs 26.2 with gnutls on Centos 7?

I try to compile Emacs 26.2 on Centos 7. So I run ./configure But the script complains: configure: error: The following required libraries were not found: gnutls Maybe some development libraries/packages are missing? However yum tells me that…
halloleo
  • 6,554
  • 6
  • 46
  • 88
2
votes
0 answers

Is there any way to use git from behind a proxy on Ubuntu to clone github repositories without having to rebuild it myself with openssl?

Is there a working git for Ubuntu 18 which can clone git repositories form github from behind a proxy without running into the infamous GnuTLS recv error? Key question is this: Can this be done without having to rebuild one's own git package with…
2
votes
1 answer

How to see if git binary is built against openssl or gnutls when git-http-fetch is not installed?

I need to check if the installed version of git on a number of systems is built against gnutls or openssl. A method to do this can be found here but relies on having binary git-http-fetch installed against which "ldd git-http-fetch" can be run. …
Jaglan Beta
  • 94
  • 1
  • 5
2
votes
1 answer

Compilation error in GCC on Linux

I am trying to compile my code for GnuTLS, but on compiling it gives the following errors. I have checked gnutls.h is present on my system in /usr/include/gnutls/. What else can be the cause? gcc -o tls.o tls.c /tmp/ccfyZ1Bd.o: In function `main':…
tarun
  • 41
  • 1
  • 2
2
votes
1 answer

Translate OpenSSL RSA encryption to GnuTLS

I am attempting to translate the following code from OpenSSL to GnuTLS for licencing reasons: BIO *bioKey = BIO_new(BIO_s_mem()); if (!bioKey) { DEBUG_ERROR("failed to allocate bioKey"); spice_disconnect_channel(channel); return…
Geoffrey
  • 9,268
  • 3
  • 27
  • 41
2
votes
0 answers

GnuTLS issue with HTTPS

I have installed debian Whizzy and Jessie successful but when I try doing some request via https, I got strange error $ wget https://google.com --2018-05-12 11:06:27-- https://google.com/ Resolving google.com (google.com)...…
thehuyvb
  • 171
  • 1
  • 9
1
2
3
8 9