Server has verisign cert in java keystore file. In android
application, I used below code to connect:

Socket socket = SSLSocketFactory.getDefault().createSocket("domain",
port);
DataInputStream dataInputStream = new
DataInputStream(socket.getInputStream

>From my debug in application, I got untrusted server cert. In order to
make the connection I need to bypass the domain cert checking. I
googled the web, some example include jks in application. For me, the
jks only stays in server, cannot include it in application.

Am I doing the wrong way ? Pls advice.



-- 
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