File tree Expand file tree Collapse file tree
admin_manual/configuration_database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -292,6 +292,26 @@ this:
292292 "dbhost" => "localhost",
293293 "dbtableprefix" => "oc_",
294294
295+ SSL for PostgreSQL Database
296+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
297+
298+ Enabling SSL is only necessary if your database does not reside on the same server as your Nextcloud instance.
299+ If you do not connect over localhost and need to allow remote connections then you should enable SSL.
300+ This just covers the SSL database configuration on the Nextcloud server. First you need to configure your database server accordingly.
301+
302+ ::
303+
304+ 'pgsql_ssl' => [
305+ 'mode' => 'verify-ca',
306+ 'cert' => '/../ssl-cert.pem',
307+ 'key' => '/../ssl-key.pem',
308+ 'crl' => '',
309+ 'rootcert' => '/../ca-cert.pem',
310+ ],
311+
312+ Adjust the paths to the pem files for your environment. ``mode `` accepts the same values as PostgreSQL's
313+ ``sslmode `` connection parameter (for example ``require ``, ``verify-ca `` or ``verify-full ``).
314+
295315.. _db-troubleshooting-label :
296316
297317Troubleshooting
You can’t perform that action at this time.
0 commit comments