> http://stackoverflow.com/questions/995514/https-connection-android 

Please don't just put some random code that trusts all certificates in your 
app. 
(like some people in the thread above suggest). 

Read all the answers and understand how to use a custom trust store 
in your application. If 'myhost.com' is using a self-signed certificate, 
you have to add it to your custom trust store. If it is issued by some 
CA (in house one, or whatever), you have to add the CA certificate 
to your trust store. 

Instead  of following tutorials take some time to understand how 
Java handles SSL, it will make your life much easier. 

HTH


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to