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

CA Certificate is not renewed after it expired #239

Closed
gruyaume opened this issue Sep 11, 2024 · 2 comments
Closed

CA Certificate is not renewed after it expired #239

gruyaume opened this issue Sep 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gruyaume
Copy link
Contributor

Bug Description

The CA Certificate is not renewed after it expired

To Reproduce

  • Deploy the charm with the root ca validity set to a short-lived time
  • Run get-ca-certificate
  • Wait for it to expire
  • Run get-ca-certificate

Environment

  • Revision 190 (edge)

Relevant log output

N/A

Additional context

No response

@gruyaume gruyaume added the bug Something isn't working label Sep 11, 2024
@gruyaume
Copy link
Contributor Author

gruyaume commented Sep 11, 2024

We observe the secret expiry event but we don't get into the condition to generate a new certificate. Currently we check that the root certificate is stored (which it is) and that the root certificate matches the expected config (which it does), therefore we don't generate a new one.

@gruyaume
Copy link
Contributor Author

gruyaume commented Sep 24, 2024

Fixed by #242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant