Support » Plugin: Secure DB Connection » Wonderful Plugin. A must for WordPress.

  • Thanks for this brilliant and lightweight Plug-In. It works perfectly and it should be included in the WordPress Core. A quick clarification on it’s setup which, i think, should be better explained:

    1) Install the plug in.

    2) Add the following to your wp-config.php using your own paths to the relevant files (in other words, substitute “/etc/certs/” with your own path), just below you database settings:

    e.g

    /** The Database Collate type. Don’t change this if in doubt. */
    define(‘DB_COLLATE’, ”);

    define( ‘MYSQL_SSL_KEY’, ‘/etc/certs/client-key.pem’ );

    define( ‘MYSQL_SSL_CERT’, ‘/etc/certs/client-cert.pem’ );

    define( ‘MYSQL_SSL_CA’, ‘ca.pem’ );

    define( ‘MYSQL_SSL_CA_PATH’, ‘/etc/certs/’ );

    define( ‘MYSQL_CLIENT_FLAGS’, MYSQLI_CLIENT_SSL );

    3) Done.

  • The topic ‘Wonderful Plugin. A must for WordPress.’ is closed to new replies.