For Programmers: Free Programming Magazines  


Home > Archive > Java Security > December 2004 > Re: SSLSocket & Handshake & unrecognized SSL message









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: SSLSocket & Handshake & unrecognized SSL message
Ranga

2004-12-22, 4:05 pm

Hi, did you ever figure out the answer for this one? I am having a
similar problem. Let me know if you found the solution. Below is my
issue -

I am trying to open a simple SSL client socket connection to an SSH
port on a linux host but get the below exception :
"javax.net.ssl.SSLException: Unrecognized SSL message, plaintext
connection?"
I am using the default factory (javax.net.ssl.SSLSocketFactory) to
create the SSLSocket. I am not enabling any specific cipher suite. I
tried enabling each of the protocols (SSLv2Hello, SSLv3, TLSv1)
separately - but still the same problem.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com