Apache lib & SSL connection

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Apache lib & SSL connection

Postby Steph » Fri Nov 07, 2008 9:19 am

Hi everybody!

Since a week, i try to make a SSl connection to my server. This server has a self-signed certificate.
I 'm trying to connect with the Apache library, and specially
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. import org.apache.http.*;
Parsed in 0.032 seconds, using GeSHi 1.0.8.4

I've tryed all the solution found on the net (keystore, and a lot of TrustAllCertificate method) : maybe something goes wrong with the SDK.
In fact, when we try to sur-implement trustManager, the app always call OpenSSLSocketFactoryImpl which disable all our method of all trust certificate.



Sorry if this post isn't very easy to understand, i will progress in english ( ;) )
Steph
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Mon Oct 20, 2008 1:48 pm
Location: France

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 7 guests