// Create CertificationAuthority, CertificateStore and CertificateRequestStore GBeans
createCARelatedGBeans(request, (GeronimoManagedBean)caKeystore, defaultCAStoreDir, defaultCSRStoreDir);
CertificationAuthority ca = getCertificationAuthority(request);
ca.unlock(password.toCharArray());
// Certificate validity and serial number.
// Validity of these have been checked before loading the confirmation page.
Date validFromDate = null, validToDate = null;
DateFormat df = new SimpleDateFormat("MM/dd/yyyy");