Skip to content

Configuring PublishCertsJob

Endi S. Dewata edited this page Sep 26, 2022 · 2 revisions

Plugin Configuration

$ pki-server ca-config-set jobsScheduler.impl.PublishCertsJob.class com.netscape.cms.jobs.PublishCertsJob

Job Configuration

To configure certificate publishing job:

$ pki-server ca-config-set jobsScheduler.job.publishCerts.enabled true
$ pki-server ca-config-set jobsScheduler.job.publishCerts.cron "0 0 * * 2"
$ pki-server ca-config-set jobsScheduler.job.publishCerts.pluginName PublishCertsJob
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.enabled true
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.emailSubject "Certs Publishing Summary"
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.emailTemplate /var/lib/pki/pki-tomcat/ca/emails/publishCerts.html
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.itemTemplate /var/lib/pki/pki-tomcat/ca/emails/publishCertsItem.html
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.recipientEmail admin@example.com
$ pki-server ca-config-set jobsScheduler.job.publishCerts.summary.senderEmail admin@example.com

Email Templates

Clone this wiki locally