Description
Is your feature request related to a problem? Please describe.
We are designing an automated certificate renewal process, and after researching there does not appear to be a method or endpoint that will check the pki crl for a certificate. This means we must manually pull down the CRL and use Openssl or other methods to check if the cert in question is part of the CRL.
Describe the solution you'd like
An end point that we could POST the certs serial number to and receive a response if it is part of the CRL
Describe alternatives you've considered
Within our ansible playbook I am attempting to pulling down the CRL from the v1/pki/crl/pem endpoint, then use 'community.crypto.x509_crl_info' to parse the CRL, then check if the cert in question serial number is part of that list.
Explain any additional use-cases
Automated certificate check/renewal process. In addition to checking that the cert is still valid, we also should check if the cert if part of the CRL, and if so it should be renewed/regenerated
Activity