The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » Security
 
RSS feed
 
New topic
Author

Simple data input and output streams not working over SSL.

vladimir star
Greenhorn

Joined: Jan 31, 2010
Messages: 1

Hi,

I've got a server and a client who have already finished the SSL handshake and are ready to send. Both the client and the server on the same machine, I run the client, as the program starts, the connection is established and shows that everything is setup. Once I press the login button on the client, it stops on executing the writeInt() command therefore the server is stuck on readInt(). It works with normal sockets.

Here is how I setup my server:
main.java


ClientHandler.java -- STILL ON SERVER



Here is how I setup my client:
SecureApp.java


Here are the connection details:
Suite TLS_RSA_WITH_RC4_128_SHA
Certificate: [Type: X.509v1
Serial number: 4B:61:A9:E6
Subject: Usual certificate details
Issuer: Usual certificate details
Valid from 1/28/2010 15:14:46 GMT until 1/28/2011 15:14:46 GMT
Signature Algorithm: SHA1withRSA]
Protocol SSL


Looking forward to replies!

Thanks,
Vladimir

This message was edited 1 time. Last update was at by vladimir star

Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Messages: 427

what is a "ClientOperator" ??

I think you will have to post more of your code.

This message was edited 1 time. Last update was at by Tim McGuire

greg stark
Ranch Hand

Joined: Aug 10, 2006
Messages: 178

This was cross-posted on Sun's forums where it is getting attention.

Nice to meet you.
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » Security
 
RSS feed
 
New topic
The most intelligent Java IDE