Hi Oliver ,

Thank you for your response .

I am trying to use RPC to trigger the notify expiry workflow like this


[ExpiredCertificates]
workflow = notify_expiry
param = cutoff_notafter
output = cert_notified_list,cert_renewed_list

But whenever I try to call the ExpiredCertificates Method I get 200 but with no 
data , the list of expired certificates is always empty .


Hakim
Best regards

From: Oliver Welter <m...@oliwel.de>
Sent: 23 March 2022 06:46
To: openxpki-users@lists.sourceforge.net
Subject: [EXTERNAL] Re: [OpenXPKI-users] notify expiry

Hi Hakim,

just setup a job that calls the workflow once a day (openxpkicmd  --realm 
democa notify_expiry) - the default setting is to alert certificates 30 days 
prior expiration, to change the threshold set the "cutoff_notafter" parameter 
to any date value that can be parsed by OpenXPKI::DateTime.

Oliver

Am 22.03.22 um 10:18 schrieb Hakim Maakli:
Hi All ,

Is there an example on how to use the notify_expiry.yaml workflow ?
I want to specify the expire date in the input parameters then I will get the 
list of certificates that will expire in the output .

Hakim
Best regards




_______________________________________________

OpenXPKI-users mailing list

OpenXPKI-users@lists.sourceforge.net<mailto:OpenXPKI-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/openxpki-users



--

Protect your environment -  close windows and adopt a penguin!

NOTE: This email originated from outside the company, please use caution when 
opening. If you are not familiar with the sender, we recommend you do not open 
any attached files or links contained in the message. If in doubt, please 
contact local IT support.
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to