Hi All, I am fairly new to TLS/SSL in general and to GnuTLS in particular so this might be a very basic question, but I don't seem to be able to figure it out by myself.
I am trying to implement a basic TLS/SSL client with anonymous authentication. I am using the code samples from GnuTLS Documentations and trying to connect to gnutls-serv utility with my client. I run the utility with -a flag to disable requesting client certificate. The problem is that the handshake fails. The client prints out "GnuTLS error: Insufficient credentials for that request." The server's outputs "Error in handshake Error: Error in the pull function.". Below I am pasting the complete output from server. Can anybody help me out here? * Accepted connection from IPv4 127.0.0.1 port 64072 on Wed Apr 16 13:33:12 2014 |<2>| ASSERT: gnutls_constate.c:583 |<4>| REC[027CCBE0]: Allocating epoch #1 |<2>| ASSERT: gnutls_buffers.c:1073 |<7>| READ: -1 returned from 00000005, errno=108 gerrno=0 |<2>| ASSERT: gnutls_buffers.c:333 |<2>| ASSERT: gnutls_buffers.c:518 |<2>| ASSERT: gnutls_record.c:1045 |<2>| ASSERT: gnutls_record.c:1165 |<2>| ASSERT: gnutls_buffers.c:1324 |<2>| ASSERT: gnutls_handshake.c:1412 |<2>| ASSERT: gnutls_handshake.c:3044 Error in handshake Error: Error in the pull function. |<4>| REC: Sending Alert[2|80] - Internal error |<4>| REC[027CCBE0]: Preparing Packet Alert(21) with length: 2 and min pad: 0 |<9>| ENC[027CCBE0]: cipher: NULL, MAC: MAC-NULL, Epoch: 0 |<7>| WRITE: enqueued 7 bytes for 00000005. Total 7 bytes. |<7>| WRITE FLUSH: 7 bytes in buffer. |<2>| ASSERT: gnutls_buffers.c:408 |<2>| errno: 0 |<2>| ASSERT: gnutls_buffers.c:192 |<7>| WRITE error: code -53, 7 bytes left. |<2>| ASSERT: gnutls_buffers.c:650 |<2>| ASSERT: gnutls_record.c:570 |<2>| ASSERT: gnutls_record.c:342 |<4>| REC[027CCBE0]: Start of epoch cleanup |<4>| REC[027CCBE0]: End of epoch cleanup |<4>| REC[027CCBE0]: Epoch #0 freed |<4>| REC[027CCBE0]: Epoch #1 freed Thanks, P.
_______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
