httpclient ssl certificate on android

Posted by Mojo Risin on Stack Overflow See other posts from Stack Overflow or by Mojo Risin
Published on 2010-05-19T08:50:46Z Indexed on 2010/05/19 9:10 UTC
Read the original article Hit count: 946

Filed under:
|
|
|

Hi all

I have some troubles with ssl using httpclient on android i am trying to access public trusted certificate in details i want my app to trust all certificates. First i tried using this guide http://hc.apache.org/httpclient-3.x/sslguide.html on Desktop is working fine but on android i still got javax.net.ssl.SSLException: Not trusted server certificate. After searching in google i found some other examples how to enable ssl.

http://groups.google.com/group/android-developers/browse_thread/thread/62d856cdcfa9f16e - Working when i use URLConnection but with HttpClient still got the exception.

http://www.discursive.com/books/cjcook/reference/http-webdav-sect-self-signed.html - on Desktop using jars from apache is working but in android using included in SDK classes can't make it work.

So any ideas how can i access trust public certificates on android using HttpClient

© Stack Overflow or respective owner

Related posts about android

Related posts about httpclient