Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expired and not renewed certificates #225

Open
red-erik opened this issue Nov 8, 2024 · 1 comment
Open

Expired and not renewed certificates #225

red-erik opened this issue Nov 8, 2024 · 1 comment
Labels
question This is a general question.

Comments

@red-erik
Copy link

red-erik commented Nov 8, 2024

Hello,
is there a way to retrive issued but expired ceriticates, not already renewed ?
I did not find the proper way to do it.

Thank you in advance.

Regards,
Red.

@Crypt32
Copy link
Collaborator

Crypt32 commented Nov 8, 2024

Basically, you want to get two sets (in separate queries):

  1. of all currently valid certificates
  2. of expired certificates

Then, do expired.Except(valid) operation against two sets. The result will be another set which contains expired and not renewed certificates. Except in this context is your own function that contains the logic to check if entry in one set matches (or not) entry in another set.

@Crypt32 Crypt32 added the question This is a general question. label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a general question.
Projects
None yet
Development

No branches or pull requests

2 participants