obj63mc/silverstripe-mysqlisslconnector

SilverStripe module to allow MySQLi SSL connection with CA certificate only

Installs: 6 027

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.0.4 2019-10-22 14:16 UTC

This package is auto-updated.

Last update: 2022-05-14 23:29:16 UTC


README

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.