Hi Daniel,

It is failing in the below line of the sample code .

ret = gnutls_handshake(session);

I am getting  "*** Handshake has failed (The request is invalid.)"
message from server side sample code.

and  "*** Fatal error: The TLS connection was non-properly terminated"
error message  from client side sample code.



On Fri, Mar 13, 2015 at 12:04 AM, Daniel Kahn Gillmor <[email protected]
> wrote:

> On Mon 2015-03-09 00:49:01 -0400, Priyaranjan Nayak wrote:
> > I have installed gnutls-3.3.13 version and using in both server and
> client
> > side program. Now I wanted to check which API needs to be call to
> complete
> > the handshake for TLS connection.So I am using two sample program given
> by
> > gnutls library to verify the handshake procedure  .i.e
> >
> >    1. Server sample code:
> >
> http://gnutls.org/manual/html_node/Echo-server-with-X_002e509-authentication.html#Echo-server-with-X_002e509-authentication
> >    2. Client sample code:
> >
> http://www.gnutls.org/manual/html_node/Simple-client-example-with-X_002e509-certificate-support.html#Simple-client-example-with-X_002e509-certificate-support
>
> And in which of these programs is the failure happening in?  at which
> line of the program?
>
>      --dkg
>



-- 
Thanks
Priyaranjan
_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to