File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help!! SSL on Linux hangs

 
Evan Dillon
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whenever I try to make an SSL connection from java on Redhat 7.1, the app just hangs. I have tested the code on windows boxes and it works fine.

Is there something I am missing? Do I need to configure my system to run ssl connections from java?

(Also, I can open a web browser and connect to ssl sites, thinking that maybe the firewall was preventing something from happening )

System.setProperty("javax.net.debug","all"); outputs nothing...app just hangs...

Java = 1.4.4_04

This is the code I am running to test the connection. It works fine on Windows, compiles fine on Linux.

Thanks
 
Evan Dillon
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the fix for this is here:

http://forum.java.sun.com/thread.jsp?thread=362175&forum=2&message=1776163
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic