gencrl();
while (true) {
System.out.println("ping");
- executeOutstanders();
- revokeOutstanders();
+ signCertificates();
+ revokeCertificates();
Thread.sleep(5000);
}
}
- private static void revokeOutstanders() throws SQLException, IOException,
+ private static void revokeCertificates() throws SQLException, IOException,
InterruptedException {
ResultSet rs = revoke.executeQuery();
boolean worked = false;
System.out.println("Error while generating crl.");
}
}
- private static void executeOutstanders() throws SQLException, IOException,
+ private static void signCertificates() throws SQLException, IOException,
InterruptedException {
ResultSet rs = readyMail.executeQuery();
while (rs.next()) {