Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Simple data input and output streams not working over SSL.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is a "ClientOperator" ??

I think you will have to post more of your code.
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This was cross-posted on Sun's forums where it is getting attention.
 
Remember to always leap before you look. But always take the time to smell the tiny ads:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic