I can list either private certification or trust certification by using the example code 'ListAllCerts'
But I always happen to an error when trying to startHandshake
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Untrusted certificate chain.
Here's my code
SSLSocketFactory sf = f.getSSLSocketFactory(privateKeyAlias, trustKeyAlias, "SSL");
sslsocket = (SSLSocket)sf.createSocket(host, port);
sslsocket.startHandshake();
Please give some help.
