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
Android

Avatar of undefined
Last Comment
Dave Baldwin

8/22/2022 - Mon
Dave Baldwin

TLS is the current version of SSL.  http://en.wikipedia.org/wiki/Transport_Layer_Security  Do you have a need for backwards compatibility?
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
Dave Baldwin

You should "Request Attention" above and get the SSL and Java zones added to your question.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Dejan Pažin


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

What is the output when you use TLS?
Dave Baldwin

jamie_lynn

ASKER
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
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Dave Baldwin

What version of SSL does the server support?  Can you tell?  Maybe it's too old though the transition to TLS started in 1999.
jamie_lynn

ASKER
Hi Dave,
I don't know..it's pretty old.. i am assuming SSLv2.0.
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
jamie_lynn

ASKER
I think your right.. without upgrading the server to TLS1.2, there isn't much i can do form the client side.

Thanks Dave!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Dave Baldwin

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