final String issuerDN = data1.getIssuerDN();
try {
entityManager.persist(data1);
} catch (Exception e) {
// For backward compatibility. We should drop the throw entirely and rely on the return value.
CreateException ce = new CreateException();
ce.setStackTrace(e.getStackTrace());
throw ce;
}
final String msg = intres.getLocalizedMessage("store.storecert");
logSession.log(admin, issuerDN.hashCode(), LogConstants.MODULE_CA, new Date(), username, incert, LogConstants.EVENT_INFO_STORECERTIFICATE, msg);
log.trace("<storeCertificate()");