Opened 2 years ago
Last modified 2 years ago
#61856 new enhancement
Add support for MySQL SSL connections
| Reported by: | markhadjar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Database | Version: | 6.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Hello
I have seen demand for enabling secure database connections across WordPress.org forums, Reddit, and other communities. There is also an older ticket discussing it. https://core.trac.wordpress.org/ticket/24816
I have created a pull request that enables secure database connections.
Change History (2)
This ticket was mentioned in PR #7177 on WordPress/wordpress-develop by markhadjar.
2 years ago
#1
- Keywords has-patch added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This adds support for secure database connections.
Set the following in wp-config.php to enable secure database connections.
Enable secure database connections
define( 'DB_SSL', true );
Set the path to the SSL key
define( 'DB_SSL_KEY', '/path/to/client-key.pem' );
Set the path to the SSL cert
define( 'DB_SSL_CERT', '/path/to/client-cert.pem' );
Set the path to the SSL Certificate Authority
define( 'DB_SSL_CA', '/path/to/ca.pem');