Connection to AWS MySql server over SSL Running Drupal 7 and trying to enable secure connection between my AWS EC2 and RDS server using SSL. 

Php version 5.3.29

I have found some information suggesting the following setup but I'm unsure how to configure this given my own SSL certs and the single certificate bundle I have from amazon? 

When I try the below config I get a 500 server error.

Any pointers much appreciated.

$databases = array (
  'default' =&gt; 
  array (
    'default' =&gt; 
    array (
      'database' =&gt; 'database name',
      'username' =&gt; 'username',
      'password' =&gt; 'password',
      'host' =&gt; 'AWS RDS Endpoint',
      'port' =&gt; '',
      'driver' =&gt; 'mysql',
      'prefix' =&gt; '',
      'pdo' =&gt; array (
            PDO::MYSQL_ATTR_SSL_KEY =&gt; '/path_to_your/client-key.pem',
            PDO::MYSQL_ATTR_SSL_CERT =&gt; '/path_to_your/client-cert.pem',
            PDO::MYSQL_ATTR_SSL_CA =&gt; '/path_to_your/ca-cert.pem',
                     ),
      ),
  ),
);
Figured it out and required SSL via phpmyadmin admin interface for my users.

There are my Drupal database params

$databases = array (
  'default' =&gt; 
  array (
    'default' =&gt; 
    array (
      'database' =&gt; 'database name',
      'username' =&gt; 'username',
      'password' =&gt; 'password',
      'host' =&gt; 'AWS RDS Endpoint',
      'port' =&gt; '',
      'driver' =&gt; 'mysql',
      'prefix' =&gt; '',
      'pdo' =&gt; array(
        PDO::MYSQL_ATTR_SSL_CA =&gt; '&lt;path to&gt;/rds-combined-ca-bundle.pem',
      ),
  ),
);