?
Solved

Why is only TLS supported, and not SSL?

Posted on 2011-03-07
11
Medium Priority
?
977 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:jamie_lynn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35054491
TLS is the current version of SSL.  http://en.wikipedia.org/wiki/Transport_Layer_Security  Do you have a need for backwards compatibility?
0
 

Author Comment

by:jamie_lynn
ID: 35054856
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
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35054892
You should "Request Attention" above and get the SSL and Java zones added to your question.
0
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

 
LVL 17

Expert Comment

by:Dejan Pažin
ID: 35055671

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

What is the output when you use TLS?
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35058751
0
 

Author Comment

by:jamie_lynn
ID: 35059506
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
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35059605
What version of SSL does the server support?  Can you tell?  Maybe it's too old though the transition to TLS started in 1999.
0
 

Author Comment

by:jamie_lynn
ID: 35063167
Hi Dave,
I don't know..it's pretty old.. i am assuming SSLv2.0.
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 35063205
"version 2.0 was released in February 1995".  If it really is that old there may be nothing you can reasonably do.
0
 

Author Closing Comment

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

Thanks Dave!
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 35101256
Thanks, sorry it didn't work but some people refuse to upgrade their servers.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question