Ensure you have the CA Certificate (ca.pem), Client Certificate (client-cert.pem), Client Key (client-key.pem) certificates
Copy the certificates (ca.pem, client-cert.pem, and client-key.pem) to a secure directory on your WordPress server (e.g., wp-content/ssl/).
Add the following lines to wp-config.php to configure WordPress to use SSL and the client certificate:
define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL);
define('MYSQL_SSL_CA', WP_CONTENT_DIR . '/ssl/ca.pem');
define('MYSQL_SSL_CERT', WP_CONTENT_DIR . '/ssl/client-cert.pem')
define('MYSQL_SSL_KEY', WP_CONTENT_DIR . '/ssl/client-key.pem');
Confirm that MySQL server is configured to accept SSL connections and that the CA certificate is correctly installed on the server And test the connection