Enable CRL expiration display

pull/1/head
Timothy Pearson 9 years ago
parent 62a8d5e8c2
commit 037ea2ced9

@ -178,7 +178,7 @@ int main(int argc, char *argv[])
}
// CRL
if (ldap_mgr->generatePKICRL(m_certconfig.caExpiryDays, m_realmconfig[m_defaultRealm], &errorstring) != 0) {
if (ldap_mgr->generatePKICRL(m_certconfig.caExpiryDays, m_realmconfig[m_defaultRealm], KERBEROS_PKI_CRL_FILE, KERBEROS_PKI_PEMKEY_FILE, KERBEROS_PKI_CRLDB_FILE, &errorstring) != 0) {
printf("[ERROR] Unable to generate CRL!\n%s\n", errorstring.ascii()); fflush(stdout);
}

@ -584,10 +584,6 @@ void LDAPController::updateCertDisplay() {
}
// Certificate Revocation List
// FIXME
// KSSLCertificate does not appear to understand the CRL format
// Debug and reactivate this code
#if 0
TQByteArray certificateContents;
if (ldap_mgr->getTDECertificate("publicRootCertificateRevocationList", &certificateContents, NULL) == 0) {
certExpiry = LDAPManager::getCertificateExpiration(certificateContents);
@ -609,9 +605,6 @@ void LDAPController::updateCertDisplay() {
m_base->crlExpiryString->setText("File not found");
m_base->crlExpiryString->setPaletteForegroundColor(CERT_STATUS_COLOR_NOTFOUND);
}
#else
m_base->crlExpiryString->setText("Unknown");
#endif
delete ldap_mgr;
}

Loading…
Cancel
Save