Re: [android-developers] SSL Client Authentication Broken in Android 4.0

2012-01-08 Thread Mukesh Srivastav
Hi Carl, This issue is Redirecting with the server. you need to redirect it again. below is the code snippet try this and u will surely get the response. DefaultHttpClient dc = new DefaultHttpClient(ccm, params); dc.setRedirectHandler(new RedirectHandler() { @Override public URI getLocationURI(H

Re: [android-developers] SSL Client Authentication Broken in Android 4.0

2012-01-08 Thread Nikolay Elenkov
On Mon, Jan 9, 2012 at 8:34 AM, Carl Minden wrote: > I have an Android app which uses an SSLSocketFactory to load a pkcs12 > certificate and use that certificate to perform SSL Client > authentication with my server. This process worked perfectly on > Android 2.1, 2.2, and 2.3, but when I attempt

[android-developers] SSL Client Authentication Broken in Android 4.0

2012-01-08 Thread Carl Minden
I have an Android app which uses an SSLSocketFactory to load a pkcs12 certificate and use that certificate to perform SSL Client authentication with my server. This process worked perfectly on Android 2.1, 2.2, and 2.3, but when I attempt to run this code on a phone or emulator running 4.0 my serve

[android-developers] SSL client authentication

2009-03-11 Thread telematics
I am new on SSL programming. The Android app I am developing needs to open an SSL socket to a secure server which requires the client authentication. When running on the Emulator and trying to talk to a Server running on the host PC, the following Android code snippet always gives me a SocketExcep