Use {Key,Trust}ManagerFactory.getDefaultAlgorithm()