File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Simple data input and output streams not working over SSL. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Simple data input and output streams not working over SSL." Watch "Simple data input and output streams not working over SSL." New topic
Author

Simple data input and output streams not working over SSL.

vladimir star
Greenhorn

Joined: Jan 31, 2010
Posts: 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
Posts: 607

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
Posts: 217
This was cross-posted on Sun's forums where it is getting attention.


Nice to meet you.
 
 
subject: Simple data input and output streams not working over SSL.
 
developer file tools