Link to home
Start Free TrialLog in
Avatar of g46905
g46905

asked on

javax.net.ssl.SSLException: Unrecognized SSL handshake

I am getting the following error while trying to post a file through SSL communication. Could you please shed some light in resolving the issue. Thanks a lot!
Avatar of hoomanv
hoomanv
Flag of Canada image

have you specified the https protocol ?
https://
You can check out SSLSocket.get/setEnabledProtocols() and turn off that option.

And of course, make sure you're connecting to a SSL server. If you have a regular HTTP server, it won't
understand the SSL handshake.
Avatar of g46905
g46905

ASKER

Yes, we did specify it to be https:// and using port 443.
Avatar of g46905

ASKER

Can you provide me wtih an example showing how to turn off SSLSocket.get/setEnabledProtocols() ? Thanks for your help
ASKER CERTIFIED SOLUTION
Avatar of hoomanv
hoomanv
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hoomany beat me too it :>)