[gnutls-help] Unable to connect Windows IIS8, gives -37

Michal Suchanek hramrach at gmail.com
Tue Aug 9 12:56:39 CEST 2016

On 9 August 2016 at 11:58, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> On Tue, Aug 9, 2016 at 11:17 AM, Michal Suchanek <hramrach at gmail.com> wrote:

>>> The server requested a rehandshake but the client (httpfs2-ssl) you
>>> are using didn't handle it. You'd better report it to that tool.
>> what is needed on the clients part to handle the rehandshake?
>> Does GnuTLS not handle rehandshake internally?
> No. Rehandshake typically means re-authentication and the application
> must handle this explicitly with gnutls (see [0]). By the time you
> receive such a rehandshake request by the server you can either ignore
> it (which the server may or may not like), or act on it by following
> the instructions on [0]. Servers typically ask for rehandshake when
> the want to connected user to reauthenticate using a client
> certificate or so.
> Overall it is best to use gnutls_error_is_fatal() and ignore non-fatal
> errors from gnutls_record_recv() and gnutls_handshake().

This explains the issue.



More information about the Gnutls-help mailing list