-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: certificate-changed event handler #409
Conversation
- Obtain or generate TLS certificate with the core helper "get-certificate". - Run the helper as a .service unit that start once when the session boots. - The unit starts before app services.
Replace the obsolete certificate-updated event handler with the new Core 3.6.0 event handler.
|
||
systemctl --user -T try-reload-or-restart phonebook | ||
|
||
systemctl --user -T try-reload-or-restart nethcti-server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: nethcti-server
is a web application that shouldn't use NETHVOICE_HOST name.
Code review Co-authored-by: Matteo Valentini <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the files in this directory and the directory itself be deleted during the upgrade procedure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very good question. It depends on how many module updates were applied after the core bug fix of NethServer/dev#7058 was received by each cluster.
get-certificate
helper to obtain TLS certificates.get-certificate.service
unit to run obtain/generate the TLS certificate at boot.References:
See also https://github.com/NethServer/ns8-core/blob/feat-7004/docs/modules/certificates.md#tls-for-other-applications