[android-developers] Re: SSL certificate error for authenticating the credentials

2011-09-14 Thread Atik
Hello I have added all the stuff in my code, but i m confused how to do for https. can u pls elaborate more abt the truststore, how to create it and if u sample then it would be great. i have modified the code in different ways but i m unable to get output my code is

[android-developers] Re: SSL certificate error for authenticating the credentials

2011-09-13 Thread b0b
use this for your SSL factory: SSLSocketFactory sslFactory = SSLSocketFactory.getSocketFactory(); sslFactory.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); But since you didn't specify a truststore with the certificate of the server, you'll probably have another error. --