TrustManagerFactory () { try { return TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); } catch (NoSuchAlgorithmException e) { LOG.error("Cannot create trust manager factory", e); return null; } }