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

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Jul 6 11:02:09 CEST 2008

Nikos Mavrogiannopoulos wrote:
> 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.

But probably what you need is to run gnutls-serv with the option
--priority "NORMAL:+ANON-DH". To see other possibilities use the
gnutls-serv -l.


More information about the Gnutls-help mailing list