Replies: 1 comment 6 replies
-
It's a new service you are defining right? What would be the name EndEntityCertificateExpirationNotifier? If the target is end entities as such isn't it enough to get all end entities that uses an end entity profile and then get the latest certificate for this end entity? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking to extend
CertificateExpirationNotifierWorker
to not send notification when renewed certificate exists.The idea is to check that there is a newer certificate issued for the same subject DN or end entity for which the certificate was issued.
I would like to know if this is a good idea that will work consistently for all types of certificates and you can maintain it further. I am sure you were thinking about this because it is a typical configuration users would like to have.
The idea is to create new worker that will have the following as input:
CertificateExpirationNotifierWorker
)The worker will get all certificates based on selected end entity profile that are going to expiry and additionally check if newer exists, i.e.:
Because of the
findLatestX509CertificateBySubject
method, is this going to work only for X.509 certificates? Should there be implemented more general method likefindLatestCertificateBySubject
or similar to getCertificate
instead ofX509Certificate
?My proof of concept for X.509 certificates works as expected, but I am not 100% sure that it does not have any side effects or unexpected behaviour. I can create PR if you think this is good approach.
Beta Was this translation helpful? Give feedback.
All reactions