mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #5309 from AndrewwHummer/patch-2
add mysql ssl config
This commit is contained in:
@@ -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
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user