use of org.xipki.ca.server.mgmt.api.conf.CaConf in project xipki by xipki.
the class LoadConfCmd method execute0.
@Override
protected Object execute0() throws Exception {
CaConf caConf = new CaConf(confFile, securityFactory);
String msg = "configuration " + confFile;
try {
caManager.loadConf(caConf);
println("loaded " + msg);
return null;
} catch (CaMgmtException ex) {
throw new CmdFailure("could not load " + msg + ", error: " + ex.getMessage(), ex);
}
}
Aggregations