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

New TLS registry: How to configure certificate reload period? #41758

Open
sdavids opened this issue Jul 8, 2024 · 3 comments
Open

New TLS registry: How to configure certificate reload period? #41758

sdavids opened this issue Jul 8, 2024 · 3 comments
Labels
area/config area/core kind/question Further information is requested

Comments

@sdavids
Copy link
Contributor

sdavids commented Jul 8, 2024

Describe the bug

https://quarkus.io/guides/tls-registry-reference

There is no example of how to configure the certificate reload period.

Expected behavior

There is a migration example for:

quarkus.http.ssl.certificate.files=cert.pem
quarkus.http.ssl.certificate.key-files=key.pem
quarkus.http.ssl.certificate.reload-period=30s

quarkus.tls.key-store.pem.0.cert=cert.pem
quarkus.tls.key-store.pem.0.key=key.pem
??? quarkus.tls.key-store.pem.0.reload-period=30s ???

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.12.1

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@sdavids sdavids added the kind/bug Something isn't working label Jul 8, 2024
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 8, 2024

/cc @radcortez (config)

@sdavids sdavids changed the title New TLS Registry now to configure certificate reload period New TLS registry how to configure certificate reload period Jul 8, 2024
@sdavids sdavids changed the title New TLS registry how to configure certificate reload period New TLS registry: How to configure certificate reload period? Jul 8, 2024
@geoand geoand added kind/question Further information is requested and removed kind/bug Something isn't working labels Jul 9, 2024
@geoand
Copy link
Contributor

geoand commented Jul 9, 2024

cc @cescoffier

@cescoffier
Copy link
Member

That feature has not been released yet, but you can see the "next-to-be" documentation on: https://quarkus.io/version/main/guides/tls-registry-reference#reloading-certificates

Note that the TLS registry, unlike the previous approach let you implement your own reloader (so not only periodic)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config area/core kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants