java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found

3,522 views
Skip to first unread message

kums

unread,
Feb 19, 2010, 7:05:59 AM2/19/10
to android-porting
Hi All,

I want to use sslsocket to my application. I am having one certificate
file called "myserver.cer"

Using my code i got all the details about certification file .

Now i created instance for SSLContext like below.

SSLContext sc = SSLContext.getInstance("SSL");

If i used this in my code i got one exception called

"java.security.NoSuchAlgorithmException: SSLContext SSL implementation
not found"

Instead of "SSL" i gave "TLS". Its never show this exception.

But i need to use "SSL" protocal. so how can i solve my problem.

Help me,

Thanks,
Kums.

Deva R

unread,
Feb 19, 2010, 11:44:03 AM2/19/10
to kums...@gmail.com, android-porting

SSL is not implemented, but you can continue using TSL, which is same as SSLv3 protocol..

Regards
Deva



Deva R

unread,
Feb 19, 2010, 11:46:06 AM2/19/10
to kums...@gmail.com, android-porting
*TLS

Android-kums

unread,
Feb 24, 2010, 7:03:28 AM2/24/10
to android-porting
Thanks for your reply,

But still i cant to understand. i need to use "SSL" Protocal into my
client code.

If its need any library file else special file to execute this SSL
connection.

Its no need of TLS in my code. so give exact solution for my issue.

Thanks,
Kums.

On Feb 19, 9:46 pm, Deva R <r.deva...@gmail.com> wrote:
> *TLS
>
>
>
> On Fri, Feb 19, 2010 at 10:14 PM, Deva R <r.deva...@gmail.com> wrote:
>
> > SSL is not implemented, but you can continue using TSL, which is same as
> > SSLv3 protocol..
>
> > Regards
> > Deva
>

> > On Fri, Feb 19, 2010 at 5:35 PM, kums <kums1...@gmail.com> wrote:
>
> >> Hi All,
>
> >> I want to use sslsocket to my application. I am having one certificate
> >> file called "myserver.cer"
>
> >> Using my code i got all the details about certification file .
>
> >> Now i created instance for SSLContext like below.
>
> >> SSLContext sc = SSLContext.getInstance("SSL");
>
> >> If i used this in my code i got one exception called
>
> >> "java.security.NoSuchAlgorithmException: SSLContext SSL implementation
> >> not found"
>
> >> Instead of "SSL" i gave "TLS". Its never show this exception.
>
> >> But i need to use "SSL" protocal. so how can i solve my problem.
>
> >> Help me,
>
> >> Thanks,
> >> Kums.
>
> >> --

> >> unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@­googlegroups.com>
> >> website:http://groups.google.com/group/android-porting- Hide quoted text -
>
> - Show quoted text -

Android-kums

unread,
Feb 24, 2010, 7:05:43 AM2/24/10
to android-porting
Want to use SSL . no need of TLS.

On Feb 19, 9:46 pm, Deva R <r.deva...@gmail.com> wrote:

> *TLS
>
>
>
> On Fri, Feb 19, 2010 at 10:14 PM, Deva R <r.deva...@gmail.com> wrote:
>
> > SSL is not implemented, but you can continue using TSL, which is same as
> > SSLv3 protocol..
>
> > Regards
> > Deva
>

> > On Fri, Feb 19, 2010 at 5:35 PM, kums <kums1...@gmail.com> wrote:
>
> >> Hi All,
>
> >> I want to use sslsocket to my application. I am having one certificate
> >> file called "myserver.cer"
>
> >> Using my code i got all the details about certification file .
>
> >> Now i created instance for SSLContext like below.
>
> >> SSLContext sc = SSLContext.getInstance("SSL");
>
> >> If i used this in my code i got one exception called
>
> >> "java.security.NoSuchAlgorithmException: SSLContext SSL implementation
> >> not found"
>
> >> Instead of "SSL" i gave "TLS". Its never show this exception.
>
> >> But i need to use "SSL" protocal. so how can i solve my problem.
>
> >> Help me,
>
> >> Thanks,
> >> Kums.
>
> >> --

Reply all
Reply to author
Forward
0 new messages