Merge pull request #5309 from AndrewwHummer/patch-2

add mysql ssl config
This commit is contained in:
Morris Jobke
2020-10-28 15:32:09 +01:00
committed by GitHub

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
^^^^^^^^^^^^^^^^^^^