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

certificate.py #343

Open
maselhappy opened this issue Dec 27, 2020 · 0 comments
Open

certificate.py #343

maselhappy opened this issue Dec 27, 2020 · 0 comments

Comments

@maselhappy
Copy link

hi,

on certificates which are self-signed the date before and date after will not be read correctly. I see that the certificate has an age of 361 days and no remaining days.

the not before and not after are available.
Validity
Not Before: Dec 27 22:57:35 2020 GMT
Not After : Feb 25 22:57:35 2021 GMT

{"cert_name": "librenms.local", "age": 361, "remaining_days": 0}

br
marcel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant