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

[iaik-ssl] Rmi Error



I probe the rmi's example what comes with  iSaSil3.0beta2 in my local and the result was good.
I change dthe code and I tried to probe  it in two machines. I only change the name of the machine what looks the client. But there was an error, that I can not explain.

The client error is the next

Creating new SSL client socket connected to 193.146.37.103: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): CipherSuite selected by server: SSL_RSA_WITH_3DES_EDE_CBC_SHA
ssl_debug(1): CompressionMethod selected by server: NULL
ssl_debug(1): Received certificate handshake message with server certificate.
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 client certificate...
ssl_debug(1): Sending client_key_exchange handshake message...
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): Exception while handshaking: java.net.SocketException: Broken pipe
ssl_debug(1): Shutting down SSL...
SSLHelloClient: an exception occurred:
java.rmi.MarshalException: Error marshaling transport header; nested exception is:
        java.net.SocketException: Broken pipe
        at sun.rmi.transport.tcp.TCPChannel.openSocket(TCPChannel.java:280)
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:125)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:67)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
        at java.rmi.Naming.lookup(Naming.java:53)
        at demo.rmi.SSLHelloClient.remoteInvoke(SSLHelloClient.java:67)
        at demo.rmi.SSLHelloClient.main(SSLHelloClient.java:93)
Message from RMI Server: ERROR: java.rmi.MarshalException: Error marshaling transport header; nested exception is:
        java.net.SocketException: Broken pipe

The RMIregistry error is the next:
ssl_debug(4): Received v3 client_hello handshake message.
ssl_debug(4): Client requested SSL version 3.1, selecting version 3.1.
ssl_debug(4): Creating new session...
ssl_debug(4): CipherSuites supported by the client:
ssl_debug(4): SSL_RSA_WITH_3DES_EDE_CBC_SHA
ssl_debug(4): SSL_RSA_WITH_RC4_SHA
ssl_debug(4): CompressionMethods supported by the client:
ssl_debug(4): NULL
ssl_debug(4): Sending server_hello handshake message.
ssl_debug(4): Selecting CipherSuite: SSL_RSA_WITH_3DES_EDE_CBC_SHA
ssl_debug(4): Selecting CompressionMethod: NULL
ssl_debug(4): Sending certificate handshake message with server certificate...
ssl_debug(4): Sending certificate_request handshake message...
ssl_debug(4): Sending server_hello_done handshake message...
ssl_debug(4): Received certificate handshake message with client certificate.
ssl_debug(4): Received client_key_exchange handshake message.
ssl_debug(4): Received certificate_verify handshake message.
ssl_debug(4): Sending alert: Alert Fatal: bad certificate
ssl_debug(4): Shutting down SSL...
ssl_debug(4): Exception while handshaking: iaik.security.ssl.SSLException: Untru
sted Certificate!
ssl_debug(4): Shutting down SSL...
ssl_debug(4): Shutting down SSL...
ssl_debug(4): Closing transport...

Anybody knows what can it be?
thanks.