#1567 Notification email for expired/unpublished certs sent before the expiry date
Closed: Invalid None Opened 8 years ago by rpattath.

Notification email for expired/unpublished certs sent before the expiry date

Steps to Reproduce:

1. Enable Job scheduler through console
2. Enable unpublishExpiredCerts job with the following config
jobsScheduler.enabled=true
jobsScheduler.interval=1
jobsScheduler.impl.RenewalNotificationJob.class=com.netscape.certsrv.jobs.Renew
a
lNotificationJob
jobsScheduler.impl.UnpublishExpiredJob.class=com.netscape.certsrv.jobs.Unpublis
h
ExpiredJob
jobsScheduler.impl.RequestInQueueJob.class=com.netscape.certsrv.jobs.RequestInQ
u
eueJob
jobsScheduler.job.euJob1.cron=30 12 * * 1-5
jobsScheduler.job.euJob1.pluginName=UnpublishExpiredJob
jobsScheduler.job.euJob1.summary.emailTemplate=emails/euJob1.html
jobsScheduler.job.euJob1.summary.emailSubject=Expired Certs Unpublished Summary
jobsScheduler.job.euJob1.summary.enabled=true
jobsScheduler.job.euJob1.summary.itemTemplate=emails/euJob1Item.html
jobsScheduler.job.euJob1.summary.recipientEmail=yourId@yourCompany.com
jobsScheduler.job.euJob1.summary.senderEmail=yourId@yourCompany.com

3. Create a certificate that is published and expires in 2 days

Actual results:

Email notification is recieved a day before the expiry date. The email content
says that there are no expired/unpublished cert.

Expected results:

No notification should be sent before expiry time

Metadata Update from @rpattath:
- Issue set to the milestone: 10.2.6

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2126

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata