Merge pull request #5310 from nextcloud/backport/5309/stable20

[stable20] add mysql ssl config
This commit is contained in:
Morris Jobke 2020-10-29 14:12:29 +01:00 committed by GitHub
commit 2f1af5506b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,21 @@ In case of UTF8MB4 you will also find::
"mysql.utf8mb4" => true,
SSL for MySQL Database
^^^^^^^^^^^^^^^^^^^^^^
This just covers the SSL database configuration on the Nextcloud server. First you need to configure your database server accordingly.
::
'dbdriveroptions' => [
\PDO::MYSQL_ATTR_SSL_KEY => '/../ssl-key.pem',
\PDO::MYSQL_ATTR_SSL_CERT => '/../ssl-cert.pem',
\PDO::MYSQL_ATTR_SSL_CA => '/../ca-cert.pem',
\PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => true,
],
Adjust the paths to the pem files for your environment.
PostgreSQL database
^^^^^^^^^^^^^^^^^^^