On Jan 8, 9:04 pm, Nikolay Elenkov <[email protected]> wrote:
> Are you using a self-signed certificate for the server? If you are, you
> need to either add it to the system trust store, or pass your custom
> trust store to  SSLSocketFactory.

I was actually using an unsigned certificate which turned out to be
the problem, apparently as of ICS the SSLSocketFactory (or some other
part of the system) will no longer properly accept unsigned x509
certificates (which I used to create the pkcs12 cert). I just had to
self sign the certificate and my existing java code worked fine.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to