Check for Expiration at Cert Verification Time
Friends,
Everything works great and Credential Mapping is working great but now
I need to add one more step to my Steps to check for Expired Certificate (SMARTCARD, CAC).
I basically need to add the functionality that as soon as the user selects the digital cert presented to them, it'll
check for the cert end date and alarms user and stops them.
The following works great at First Time Registration when they enter first to our system.
if (!cert.getNotAfter().after(new Date())) {
dt = cert.getNotAfter().toString();
dn = cert.getSubjectDN().getName();
out.println("<table>");
out.println("Your CAC Card has been expired.");
I just don't know I guess how to create a step to the do something like above.
Thanks in advance for your time.
KA