try {
jsseCerts = session.getPeerCertificateChain();
if (jsseCerts == null)
jsseCerts = new X509Certificate[0];
if(jsseCerts.length <= 0 && force) {
session.invalidate();
ssl.setNeedClientAuth(true);
ssl.startHandshake();
session = ssl.getSession();
jsseCerts = session.getPeerCertificateChain();
if(jsseCerts == null)