-
Notifications
You must be signed in to change notification settings - Fork 10
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
copy SSL certificates from NC instance to ExApp upon install/update action #448
Conversation
Signed-off-by: Oleksander Piskun <[email protected]>
the only thing that worries me is that we copy all the certificates from the bundle from the server, including the system ones. as far as I know, this shouldn't break anything, and this PR won't be backported, so we have plenty of time for testing until Nextcloud 31 get released. |
Signed-off-by: Alexander Piskun <[email protected]>
7f7e394
to
1343bda
Compare
Signed-off-by: Oleksander Piskun <[email protected]>
1343bda
to
4d4c892
Compare
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.
LGTM
This PR adds the
updateCertificates
method to automate SSL certificate updates in Docker containers.It detects the container's OS, determines the correct certificate directory (e.g.,
/usr/local/share/ca-certificates
for Debian), parses the Nextcloud certificate bundle, copies individual certificates into the container, and applies updates using OS-specific commands likeupdate-ca-certificates
.Tested on Debian and Alpine.