Configuring RenewalNotificationJob - dogtagpki/pki GitHub Wiki
$ pki-server ca-config-set jobsScheduler.impl.RenewalNotificationJob.class com.netscape.cms.jobs.RenewalNotificationJob
To configure certificate renewal notifier job:
$ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.enabled true $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.cron "0 3 * * 1-5" $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.emailSubject "Certificate Renewal Notification" $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.emailTemplate /var/lib/pki/pki-tomcat/ca/emails/rnJob1.txt $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.notifyEndOffset 30 $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.notifyTriggerOffset 30 $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.pluginName RenewalNotificationJob $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.senderEmail [email protected] $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.enabled true $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.emailSubject "Certificate Renewal Notification Summary" $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.emailTemplate /var/lib/pki/pki-tomcat/ca/emails/rnJob1Summary.txt $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.itemTemplate /var/lib/pki/pki-tomcat/ca/emails/rnJob1Item.txt $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.recipientEmail [email protected] $ pki-server ca-config-set jobsScheduler.job.certRenewalNotifier.summary.senderEmail [email protected]