ssl

How to create a BKS (BouncyCastle) format Java Keystore that contains a client certificate chain

I'm writing an Android app that requires SSL client authentication. I know how to create a JKS keystore for a desktop Java application, but Android only supports the BKS format. Every way I've tried to create the keystore results in the following error: handling exception: javax.net.ssl.SSLHandshakeException: null cert chain So it looks...

How to enable SSL debugging on the Android platform?

Is there something similar to setting -D javax.net.debug=ssl at the command line for Java desktop applications, but for the Android? I've tried setting it in code via System.setProperty("javax.net.debug", "ssl"); but that didn't work. If there isn't a way to enable this property, is there at least another way to debug the client side of...