log.debug("CAAdminSessionBean : " + cainfo.getSubjectDN());
UserDataVO cadata = new UserDataVO("nobody", cainfo.getSubjectDN(), cainfo.getSubjectDN().hashCode(), caAltName, null, 0, 0, 0, cainfo
.getCertificateProfileId(), null, null, 0, 0, null);
cacertificate = ca.generateCertificate(cadata, catoken.getPublicKey(SecConst.CAKEYPURPOSE_CERTSIGN), -1, cainfo.getValidity(), certprofile,
sequence);
log.debug("CAAdminSessionBean : " + CertTools.getSubjectDN(cacertificate));
// Build Certificate Chain