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

Fix dynamic update of frontend crt #829

Merged
merged 1 commit into from
Aug 8, 2021
Merged

Fix dynamic update of frontend crt #829

merged 1 commit into from
Aug 8, 2021

Conversation

jcmoraisjr
Copy link
Owner

Since v0.13 certificates can be dynamically updated, however a reload was always scheduled due to an indirect reference from the backend to the frontend's certificate hash. This hash is used to the backend know if the frontend has a TLS certificate. When the certificate is changed, the hash is changed as well, leading to a configuration change that triggers a reload. The reference was moved to the filename, which can also be used to check TLS enabled and cannot be changed.

Since v0.13 certificates can be dynamically updated, however a reload
was always scheduled due to an indirect reference from the backend to
the frontend's certificate hash. This hash is used to the backend know
if the frontend has a TLS certificate. When the certificate is changed,
the hash is changed as well, leading to a configuration change that
triggers a reload. The reference was moved to the filename, which can
also be used to check TLS enabled and cannot be changed.
@jcmoraisjr jcmoraisjr merged commit 7793f81 into master Aug 8, 2021
@jcmoraisjr jcmoraisjr deleted the jm-dyn-crt branch August 8, 2021 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant