public static void updateSSLCertificate(Config config,String host, int port) throws PageException {
Resource cacerts=config.getSecurityDirectory();
try {
CertificateInstaller installer = new CertificateInstaller(cacerts,host,port);
installer.installAll();
} catch (Exception e) {
throw Caster.toPageException(e);
}
}