You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.txt
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,25 @@ To adjust the configuration, define any of the following applicable constants in
31
31
32
32
* `MYSQL_SSL_CA` [default: not set]
33
33
34
-
The path name to the certificate authority file.
34
+
The path name to the certificate authority file in PEM format.
35
35
36
36
* `MYSQL_SSL_CA_PATH` [default: not set]
37
37
38
38
The pathname to a directory that contains trusted SSL CA certificates in PEM format.
39
39
40
40
* `MYSQL_SSL_CIPHER` [default: not set]
41
41
42
-
A list of allowable ciphers to use for SSL encryption
42
+
A list of allowable ciphers to use for SSL encryption. You can leave this blank if you want to just use the strongest available.
43
43
44
44
= Turning on SSL =
45
45
46
-
Once SSL keys and certs have been configured you via the defines above define an WP core constant to pass a use SSL flag to the mysqli client also in your `wp-config.php` file.
46
+
First please note, only the `mysqli` (MySQL Improved) extension is supported this is the default extension used by WordPress however if you do not have the extension installed WordPress will fallback on the much older mysql extension which does not support secure connections.
47
+
48
+
Depending on your database configuration you may not need to set all the available options. For example when connecting to RDS Amazon helpfully provides a certificate bundle so once that's downloaded to the server all that's need is to set the CA option:
Once SSL keys / certs have been configured you via the defines above define an WP core constant to pass a use SSL flag to the mysqli client also in your `wp-config.php` file.
0 commit comments