Solved

Why is only TLS supported, and not SSL?

Posted on 2011-03-07
11
908 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
  • 6
  • 4
11 Comments
 
LVL 83

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 83

Expert Comment

by:Dave Baldwin
ID: 35054892
You should "Request Attention" above and get the SSL and Java zones added to your question.
0
 
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 83

Expert Comment

by:Dave Baldwin
ID: 35058751
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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 83

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 83

Accepted Solution

by:
Dave Baldwin earned 500 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 83

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
API for Viber/Whatsup/etc 3 72
Android studio getdrawable(int) is deprecated 4 39
OpenIn and Android 1 54
PDF to HTML conversion that looks good on Android Phones 3 82
Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now