Skip to content
Updated MySQLi connector for SS4.x+ to connect to databases with CA certificate bundle only
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_config
src/Connect
.gitignore
LICENSE
README.md
composer.json

README.md

SilverStripe MySQLi SSL Connector

SilverStripe module to allow MySQLi SSL connection with CA certificate only

Setup -

  1. Install Module

     composer require obj63mc/silverstripe-mysqlisslconnector
    
  2. Place your CA certificate bundle in the root of your project folder '/' eg. $_SERVER['DOCUMENT_ROOT']

  3. Add an Environment variable for your CA filename eg.

     SSL_CA_FILENAME='rds-combined-ca-bundle.pem'
    

Once setup your DB will now be under an SSL Connection.

You can’t perform that action at this time.