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

smp-status API certificate #203

Closed
phax opened this issue Feb 24, 2022 Discussed in #172 · 1 comment
Closed

smp-status API certificate #203

phax opened this issue Feb 24, 2022 Discussed in #172 · 1 comment
Assignees

Comments

@phax
Copy link
Owner

phax commented Feb 24, 2022

Discussed in #172

Originally posted by jonaswest August 18, 2021
Hi,

We are currently discussing how we should monitor whether the certificate we have is expired or not. Today, with the help of the smp-status page, you can see this through smp.certificate.expired, but we would like to be able to see which date it applies so you can automatically set up an alarm on it. Can you somehow get smp.certificate.expiry.date through api, for example?

Best Regards
Jonas

@phax phax self-assigned this Feb 24, 2022
@phax
Copy link
Owner Author

phax commented Mar 28, 2022

@jonaswest From v5.7.0 on, this can be enabled via the property smp.status.show.certificate.dates

It will result in the status entries:

  • smp.certificate.notbefore
  • smp.certificate.notafter

and contain dates in XSD formatting

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

No branches or pull requests

1 participant