SSL.pm decryption failed or bad record mac

A

Asier

Hi;

i have developed a ssl applicattion with perl. Basically a server and
a client that send information. I have created my own certification
authority, and a server key, which is certified.

I do not know if it is becouse of this, but before some time and when
everything goes fine before sending and receiving information throught
the socket, and i try to send again application data, i lost the
socket.

Somebody suggested me to use SSLDUMP, but this does not give me much
information.

This is all i have:

My server's output;
*****************

Dealing with 2 clients
SSL read errorerror:1408F455:SSL routines:SSL3_GET_RECORD:decryption
failed or bad record mac
at /usr/lib/perl5/site_perl/5.8.0/IO/Socket/SSL.pm line 480
CLIENT sudden close in 2nd stage
Dealing with 1 clients

SSLDUMP's output;
****************

New TCP connection #1: localhost.localdomain(40006) <->
localhost.localdomain(1002)
1 1 0.0039 (0.0039) C>S SSLv2 compatible client hello
Version 3.1
cipher suites
Unknown value 0x3a
Unknown value 0x39
Unknown value 0x38
Unknown value 0x35
Unknown value 0x34
Unknown value 0x33
Unknown value 0x32
Unknown value 0x2f
TLS_DHE_DSS_WITH_RC4_128_SHA
TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA
TLS_RSA_WITH_RC4_128_SHA
TLS_RSA_WITH_RC4_128_MD5
TLS_DH_anon_WITH_3DES_EDE_CBC_SHA
TLS_DH_anon_WITH_RC4_128_MD5
SSL2_CK_3DES
SSL2_CK_RC2
SSL2_CK_RC4
1 2 0.0049 (0.0009) S>C Handshake
ServerHello
Version 3.1
session_id[32]=
cf 83 c9 1d af 25 4d 44 1c 85 bc df f4 60 d9 04
8c 1a 79 7d 2a 56 da 7d 18 d5 31 58 5c f0 42 26
cipherSuite Unknown value 0x35
compressionMethod NULL
1 3 0.0049 (0.0000) S>C Handshake
Certificate
1 4 0.0049 (0.0000) S>C Handshake
ServerHelloDone
1 5 0.0231 (0.0182) C>S Handshake
ClientKeyExchange
1 6 0.0231 (0.0000) C>S ChangeCipherSpec
1 7 0.0231 (0.0000) C>S Handshake
1 8 0.0279 (0.0047) S>C ChangeCipherSpec
1 9 0.0279 (0.0000) S>C Handshake
1 10 13.7405 (13.7126) C>S application_data
1 11 13.7426 (0.0020) S>C application_data
1 12 13.7487 (0.0061) C>S application_data
1 13 78.1044 (64.3557) C>S application_data
1 14 78.1051 (0.0007) S>C Alert
1 15 78.1120 (0.0068) C>S Alert
1 16 78.1423 (0.0303) C>S application_data
1 17 78.1423 (0.0000) C>S Alert
1 18 78.1423 (0.0000) C>S application_data
1 19 103.2412 (25.0989) C>S application_data


Suggestions, ideas? i am lost.
Does this have something in common with Kerberos ( i hear about some
problems with red hat 9, my current linux box).
Thank you very much in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top