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
1
vote
0 answers

rsyslogd: unexpected GnuTLS error -54 in nsd_gtls.c:551: Error in the pull function. [v8.24.0-52.el7_8.2 try http://www.rsyslog.com/e/2078

I am sending messages from my windows application to remote syslog server (rsyslog). I can see that message is being sent successfully but I can see this error in syslog server: rsyslogd: unexpected GnuTLS error -54 in nsd_gtls.c:551: Error in the…
aromahola
  • 190
  • 1
  • 12
1
vote
1 answer

gnutls handshake failed over git clone

When i try to clone , pull or push using git i am getting following error: fatal: unable to access 'https://bitbucket.org/***-team/****.git/': gnutls_handshake() failed: Access was denied I tried by using 'GIT_TRACE_PACKET=1 GIT_TRACE=1…
praveen kumar
  • 35
  • 2
  • 6
1
vote
1 answer

Client/Server communication using TCP/IP under TLS 1.3

I want to write a client and server in C preferably, simple C++ if necessary. The server will run on some flavor of Linux, the client is for testing the server. I want to ensure messages are received and error free; therefore I will use TCP. I want…
oaklodge
  • 722
  • 6
  • 19
1
vote
1 answer

vsFTP - GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received

On the same server I have more then 20 domains. vsftpd manage FTP user. All works fine except with 1 user. Just one... GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received Why? What's wrong?! Tue May 5 18:31:49 2020 [pid…
Ilic
  • 41
  • 1
  • 6
1
vote
0 answers

Is GNUTLS thread safe? Is it according to its own documentation?

From GnuTLS 3.6.6 Manual (emphasis mine) 6.1.5 Thread safety The GnuTLS library is thread safe by design, meaning that objects of the library such as TLS sessions, can be safely divided across threads as long as a single thread accesses a single…
AndRAM
  • 155
  • 1
  • 10
1
vote
0 answers

I need to run GnuTLS with X509 in Server/Client (doubts and needs fixing)

GnuTLS suffered drastic changes as I see in the examples mentioned in the following websites with respect to my version of code that previously worked based on almost the same examples as before: Echo server with X.509 authentication Client example…
RmBeer
  • 11
  • 1
1
vote
1 answer

GnuTLS cant call hashing functions

after compiling and testing some functions available in the gnuTLS library I am having problems using the crypto library. When I try to generate a hash using gnutls_hash_hd_t *dig; gnutls_hash_init (dig, GNUTLS_DIG_SHA1); for then calculate a hash…
Arraiz
  • 77
  • 1
  • 8
1
vote
1 answer

GnuTLS (tpmtools) api for signing data in a TPM

Recently I started working with a TPM (version 1.2), and after checking the oficial GnuTLS API, I was wondering which API functions are the correct ones to do all the crypto stuff inside the chip (sign certificates get pk+ keys etc...). At the…
Arraiz
  • 77
  • 1
  • 8
1
vote
1 answer

Alternate for CURLOPT_SSL_CTX_FUNCTION in gnuTLS

I am using CURLOPT_SSL_CTX_FUNCTION in my program and gnuTLS as backend SSL in Linux. As this CURL option is not supported in gnuTLS am getting CURLE_NOT_BUILT_IN error. Is there any alternate option available for “CURLOPT_SSL_CTX_FUNCTION” in…
Karma Yogi
  • 615
  • 1
  • 7
  • 18
1
vote
0 answers

TLS failure with Apache / mod_gnutls / GnuTLS

I'm trying to switch my webserver (Apache 2.4.34 from Debian testing) from mod_ssl to mod_gnutls for TLS1.3 support. I tried the mod_gnutls 0.8.4, libgnutls 3.5.19 (up to TLS 1.2 only of course) from Debian testing and the latest from experimental…
SQ_SEN
  • 51
  • 5
1
vote
1 answer

Getting error when adding OSSubprocess to my Pharo 6.1 on Centos 7.4x

I wanted to mess around with OSSubprocess (written by Mariano Martinez Peck) from my Pharo 6.1 on my CentOS 7.4. I searched within the Pharo Project Catalog and tried to install it. I got an…
tukan
  • 17,050
  • 1
  • 20
  • 48
1
vote
0 answers

git error:RPC failed,curl 56 GnuTLS recv error (-110)

How can I solve this error when I run git clone on the linux git repository? error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated. root# git clone…
jackyard
  • 31
  • 2
  • 7
1
vote
1 answer

Openssl Renegotiation Fails

I am trying to connect an openssl client to a server. I'm using the following command: openssl s_client -cipher "AES256" -connect 15.213.94.8:6433 -msg The Output is: CONNECTED(00000003) >>> TLS 1.2 Handshake [length 00ce], ClientHello 01 00 00…
Vivek Kashyap
  • 243
  • 1
  • 3
  • 10
1
vote
0 answers

Two way TLS connection using PKCS11 token with OpenSSL

I'm trying to establish a TLS 1.2 connection to a server. I have to use a certificate and key stored on a PKCS11 token, but I can't seem to find the correct functions in OpenSSL to do so. I have implemented something similar with gnuTLS using [1].…
datosh
  • 498
  • 7
  • 20
1
vote
0 answers

How to change pycurl backend (from openssl to gnutls) on archlinux

So: linux: Linux 4.5.4-1-ARCH x86_64 GNU/Linux python: Python 2.7.11 libcurl-gnutls installed I want to change pycurl backend from openssl to gnutls. export PYCURL_SSL_LIBRARY=gnutls pip install --compile pycurl It's compiling and installing…
Bidlocoder
  • 101
  • 1
  • 2