[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-ssl] SSL connection broken after 15 secs (alert message)




I am using evaluation version 3.01 of Iaik-ssl on NT4.0 with SP6. 
I ran RMI full demo (with client and browser) successfully couple of times.
Then it started to break successful connection between Registry & Server
after 15 -20 seconds. First message from debug was "ssl_debug(1): Received
alert message: Alert Warning: close notify " 
Did my evaluation license expired or is another problem there ? Below are
both Registry and Server outputs. Thanks for help.

Dragan 

Rmi Registry dump (lines with ****** are added by me):

	*************** Starting Registry (java demo.rmi.SSLRMIUtil)
...
Initializing KeyStore...
Creating new SSL server socket on port 1099...
SSL rmiregistry started on port 1099
	*************** Starting Server 
Accepted connection from DSTANKIC/10.11.12.154
ssl_debug(1): Starting handshake...
ssl_debug(1): Received v3 client_hello handshake message.
ssl_debug(1): Client requested SSL version 3.1, selecting version 3.1.
ssl_debug(1): Creating new session 5C:7F:F0:5A:F3:2D:08:7D...
ssl_debug(1): CipherSuites supported by the client:
ssl_debug(1): SSL_RSA_WITH_RC4_128_SHA
ssl_debug(1): SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
ssl_debug(1): CompressionMethods supported by the client:
ssl_debug(1): NULL
ssl_debug(1): Sending server_hello handshake message.
ssl_debug(1): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
ssl_debug(1): Selecting CompressionMethod: NULL
ssl_debug(1): Sending certificate handshake message with server
certificate...
ssl_debug(1): Sending certificate_request handshake message...
ssl_debug(1): Sending server_hello_done handshake message...
ssl_debug(1): Received certificate handshake message with client
certificate.
ssl_debug(1): Client sent a 1024 bit RSA certificate, chain has 3 elements.
ssl_debug(1): Received client_key_exchange handshake message.
ssl_debug(1): Received certificate_verify handshake message.
ssl_debug(1): ChainVerifier: Found a trusted certificate, returning true
ssl_debug(1): Received change_cipher_spec message.
ssl_debug(1): Received finished message.
ssl_debug(1): Sending change_cipher_spec message...
ssl_debug(1): Sending finished message...
ssl_debug(1): Session added to session cache.
ssl_debug(1): Handshake completed.
Creating new SSL client socket connected to 10.11.12.154:2493...
ssl_debug(2): Starting handshake...
ssl_debug(2): Sending v3 client_hello message, requesting version 3.1...
ssl_debug(2): Received v3 server_hello handshake message.
ssl_debug(2): Server selected SSL version 3.1.
ssl_debug(2): Server created new session 4F:3B:25:E5:C9:D1:28:3C...
ssl_debug(2): CipherSuite selected by server: SSL_RSA_WITH_RC4_128_SHA
ssl_debug(2): CompressionMethod selected by server: NULL
ssl_debug(2): Received certificate handshake message with server
certificate.
ssl_debug(2): Server sent a 1024 bit RSA certificate, chain has 3 elements.
ssl_debug(2): ChainVerifier: Found a trusted certificate, returning true
ssl_debug(2): Received certificate_request handshake message.
ssl_debug(2): Received server_hello_done handshake message.
ssl_debug(2): Sending certificate handshake message with RSA client
certificate.
..
ssl_debug(2): Sending client_key_exchange handshake message (1024 bit)...
ssl_debug(2): Sending certificate_verify handshake message...
ssl_debug(2): Sending change_cipher_spec message...
ssl_debug(2): Sending finished message...
ssl_debug(2): Received change_cipher_spec message.
ssl_debug(2): Received finished message.
ssl_debug(2): Session added to session cache.
ssl_debug(2): Handshake completed.
         *************** ~ 15 seconds later (after Starting Server)
ssl_debug(1): Received alert message: Alert Warning: close notify
ssl_debug(1): Shutting down SSL layer...
ssl_debug(1): Sending alert: Alert Warning: close notify
ssl_debug(1): Shutting down SSL layer...
ssl_debug(1): Closing transport...
ssl_debug(1): Shutting down SSL layer...
ssl_debug(1): Closing transport...
ssl_debug(2): Shutting down SSL layer...
ssl_debug(2): Sending alert: Alert Warning: close notify
ssl_debug(2): Closing transport...
______________________________________________________

RMI Server dump

	*************** Starting Server 
...
Initializing KeyStore...
Creating new SSL server socket on port 0...
Creating new SSL client socket connected to dstankic:1099...
ssl_debug(1): Starting handshake...
ssl_debug(1): Sending v3 client_hello message, requesting version 3.1...
ssl_debug(1): Received v3 server_hello handshake message.
ssl_debug(1): Server selected SSL version 3.1.
ssl_debug(1): Server created new session 5C:7F:F0:5A:F3:2D:08:7D...
ssl_debug(1): CipherSuite selected by server: SSL_RSA_WITH_RC4_128_SHA
ssl_debug(1): CompressionMethod selected by server: NULL
ssl_debug(1): Received certificate handshake message with server
certificate.
ssl_debug(1): Server sent a 1024 bit RSA certificate, chain has 3 elements.
ssl_debug(1): ChainVerifier: Found a trusted certificate, returning true
ssl_debug(1): Received certificate_request handshake message.
ssl_debug(1): Received server_hello_done handshake message.
ssl_debug(1): Sending certificate handshake message with RSA client
certificate.
..
ssl_debug(1): Sending client_key_exchange handshake message (1024 bit)...
ssl_debug(1): Sending certificate_verify handshake message...
ssl_debug(1): Sending change_cipher_spec message...
ssl_debug(1): Sending finished message...
ssl_debug(1): Received change_cipher_spec message.
ssl_debug(1): Received finished message.
ssl_debug(1): Session added to session cache.
ssl_debug(1): Handshake completed.
ssl_debug(2): Accepted connection from DSTANKIC/10.11.12.154
ssl_debug(2): Starting handshake...
ssl_debug(2): Received v3 client_hello handshake message.
ssl_debug(2): Client requested SSL version 3.1, selecting version 3.1.
ssl_debug(2): Creating new session 4F:3B:25:E5:C9:D1:28:3C...
ssl_debug(2): CipherSuites supported by the client:
ssl_debug(2): SSL_RSA_WITH_RC4_128_SHA
ssl_debug(2): SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
ssl_debug(2): CompressionMethods supported by the client:
ssl_debug(2): NULL
ssl_debug(2): Sending server_hello handshake message.
ssl_debug(2): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
ssl_debug(2): Selecting CompressionMethod: NULL
ssl_debug(2): Sending certificate handshake message with server
certificate...
ssl_debug(2): Sending certificate_request handshake message...
ssl_debug(2): Sending server_hello_done handshake message...
ssl_debug(2): Received certificate handshake message with client
certificate.
ssl_debug(2): Client sent a 1024 bit RSA certificate, chain has 3 elements.
ssl_debug(2): Received client_key_exchange handshake message.
ssl_debug(2): Received certificate_verify handshake message.
ssl_debug(2): ChainVerifier: Found a trusted certificate, returning true
ssl_debug(2): Received change_cipher_spec message.
ssl_debug(2): Received finished message.
ssl_debug(2): Sending change_cipher_spec message...
ssl_debug(2): Sending finished message...
ssl_debug(2): Session added to session cache.
ssl_debug(2): Handshake completed.
SSLHelloImpl created and bound in the registry to the name SSLHelloServer
          *************** ~ 15 seconds later (after Starting Server)
*********
ssl_debug(1): Shutting down SSL layer...
ssl_debug(1): Sending alert: Alert Warning: close notify
ssl_debug(1): Closing transport...
ssl_debug(2): Received alert message: Alert Warning: close notify
ssl_debug(2): Shutting down SSL layer...
ssl_debug(2): Sending alert: Alert Warning: close notify
ssl_debug(2): Shutting down SSL layer...
ssl_debug(2): Closing transport...
ssl_debug(2): Shutting down SSL layer...
ssl_debug(2): Closing transport...
__________________________________________________________________
--
Mailinglist-archive at http://jcewww.iaik.at/mailarchive/iaik-ssl/sslthreads.html

To unsubscribe send an email to listserv@iaik.at with the folowing content: UNSUBSCRIBE iaik-ssl