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

Self Signed Certificates accepts certificate validity config option that is longer than CA certificate validity #241

Closed
gruyaume opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gruyaume
Copy link
Contributor

Bug Description

The charm should go to blocked status if the certificate validity time > ca certificate validity time and should never generate certificates in those cases.

To Reproduce

  1. juju deploy self-signed-certificates --config root-ca-validity=1 --config certificate-validity=2
  2. juju deploy tls-certificates-requirer
  3. juju integrate self-signed-certificates tls-certificates-requirer

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

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

No branches or pull requests

1 participant