-
-
Couldn't load subscription status.
- Fork 4.6k
feat(db): add SSL/TLS support for PostgreSQL #55170
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
Conversation
4bff2c2 to
c97f385
Compare
|
/backport to stable32 |
|
/backport to stable31 |
|
/backport to stable30 |
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.
Can we maybe add some CI that tests this automatically?
c97f385 to
498c52b
Compare
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
498c52b to
5883914
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.
🐘
|
The backport to # Switch to the target branch and update it
git checkout stable30
git pull origin stable30
# Create the new backport branch
git checkout -b backport/55170/stable30
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 58839144
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/55170/stable30Error: Failed to push branch backport/55170/stable30: remote: {"auth_status":"auth_error","body":"Invalid username or token. Password authentication is not supported for Git operations."} Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
/backport to stable30 |
|
@Altahrim and @AndyScherzinger thanks for this feature! What is the best way to bootstrap a NC instance with posgres SSL connection? SSL parameters are no exposed into the install part server/core/Command/Maintenance/Install.php Lines 36 to 52 in 464d12e
Line 378 in ed8744e
|
|
I think it should work to prepare an additional pgsql_ssl.config.php in config directory with only the pgsql ssl configuration. https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-merged-configuration-files for more details. |
@kesselb I confirm is working well, still some issues with my certificate but NC see the psqld ssl config. Thanks for the quick reply. |
Summary
Add SSL/TLS support for PostgreSQL
Checklist