No, i didn't. I'm new on SSL programming. I say to you what i've done
exactly. I made two keystores clientkeys.bks and serverkeys with
keytool respectively with a certificate for the client and on e for
the server. After i extract certificates from keystores just created
and i have imported them respectively in two new keystores
(servertrust and clienttrust.bks) that i use as truststores. If i do
this procedure, using keystores and trustores on a java server app and
a java client app on two different computers everything is OK, but if
the client is an Andorid system (an emulator on another pc or a phone)
i get the SSLHandshakeException.

On Sep 4, 12:09 pm, Andy Burns <[email protected]> wrote:
> mastergap wrote:
> > when i add to the ServerSocket running on my server pc the option
> > setNeedClientAuth the client can't authenticate...in particular i get
> > this exception on the server...
> > javax.net.ssl.SSLHandshakeException: null cert chain
>
> What CA has signed your certificate(s)?  If self-signed have you
> imported your own root certificate onto the Android device?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to