[sip-comm-dev] TLS FAIL


#1

Hi!

Everything seems to be fine, the TLS connection is established, SIP Client
send register message and SIP server response with a OK message, and then
the connection stay opened.

But 5 or 8 seconds later the client sends an Alert to the server closing the
connection:

SSLDUMP:

1 10 0.0552 (0.0064) C>S application_data --> Register message

1 11 0.0567 (0.0014) S>C application_data --> OK Message

1 12 8.5122 (8.4554) C>S Alert

1 8.5123 (0.0001) C>S TCP FIN

1 13 8.5152 (0.0028) S>C Alert

Java SSL Debug trace:

Timer-0, called close()

Timer-0, called closeInternal(true)

Timer-0, SEND TLSv1 ALERT: warning, description = close_notify Timer-0,
WRITE: TLSv1 Alert, length = 24 TLSMessageChannelThread, handling exception:
java.net.SocketException: socket closed %% Invalidated: [Session-1,
SSL_RSA_WITH_3DES_EDE_CBC_SHA] TLSMessageChannelThread, SEND TLSv1 ALERT:
fatal, description = unexpected_message TLSMessageChannelThread, WRITE:
TLSv1 Alert, length = 24 TLSMessageChannelThread, Exception sending alert:
java.net.SocketException: Socket closed TLSMessageChannelThread, called
closeSocket() TLSMessageChannelThread, called close()
TLSMessageChannelThread, called closeInternal(true)

I don't now where is the error. Please, could you help me?

Thank you very much. Pablo L.