[Help-gnutls] GNUTLS ERROR: A TLS fatal alert has been received.

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Jul 6 10:50:49 CEST 2008


Lennart Koopmann wrote:
> Hello everyone,
> 
> i installed GNUTLS version 2.5.1 from hand because the one from the
> Fedora repository is too old.
> When i try to anonymous connect to a "gnutls-server --http" my client
> returns:
> 
> *** Handshake failed
> GNUTLS ERROR: A TLS fatal alert has been received.
> 
> The server says:
> 
> Error in handshake
> Error: Could not negotiate a supported cipher suite.
> 
> Could you please help me with that? I don't really know how to proceed
> now. I can upload the source code of my test program if you want. It's
> mostly a copy & paste from the documentation. (7.3.1 Simple Client
> Example with Anonymous Authentication)

For debugging you can use the -d 4 (or higher) option to gnutls-serv and
see with details what was the reason of failure. On your own program you
can use gnutls_global_set_log_function and gnutls_global_set_log_level.

regards,
Nikos





More information about the Gnutls-help mailing list