protected void importHostSslCert(String hostId, String cert) { securityManager .getKeyStoreManager() .importCertAsTrusted(Common.DEFAULT_PUBLIC_SECURE_PORT, hostId, cert); securityManager.getHttpContextManager().reloadKeyStore(); }