Link to home
Start Free TrialLog in
Avatar of jamie_lynn
jamie_lynn

asked on

Why is only TLS supported, and not SSL?

Hi,

Why is only TLS supported, and not SSL on the Android platform?
SSLContext.getInstance("SSL") throws java.security.NoSuchAlgorithmException
TLS is ok, but I need to use SSL
What do you do if you need to use SSL?

Thanks
Jamie
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

TLS is the current version of SSL.  http://en.wikipedia.org/wiki/Transport_Layer_Security  Do you have a need for backwards compatibility?
Avatar of jamie_lynn
jamie_lynn

ASKER

Hi Dave,
i have a server that only supports SSL, and using TLS from the Android client does not work.
I was reading there is a difference in handshake, and although TLS is is based off of SSL3.0,  TLS and SSL are not compatible

Thanks
Jamie
You should "Request Attention" above and get the SSL and Java zones added to your question.

>> using TLS from the Android client does not work.

What is the output when you use TLS?
Hi Dave,
>Secure Socket abstraction based on the SSL protocol SSSLv3.0 or TLSv1.2
I did read that, that why I was surprised that  SSLContext.getInstance("SSL") does not work..

Hi dejanpazin,
No error output, it hangs on the read.

Thanks
Jamie
What version of SSL does the server support?  Can you tell?  Maybe it's too old though the transition to TLS started in 1999.
Hi Dave,
I don't know..it's pretty old.. i am assuming SSLv2.0.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America 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
I think your right.. without upgrading the server to TLS1.2, there isn't much i can do form the client side.

Thanks Dave!
Thanks, sorry it didn't work but some people refuse to upgrade their servers.