Aws Rds Setup With Phpmyadmin with snn

0

I can easily setup AWS rds with phpmyadmin but the problem come with SSL connection. I am totally confused with AWS bundle certificate also how to use it with phpmyadmin to encrypt the connection to rds from phpmyadmin

Om
posta 2 anni fa308 visualizzazioni
2 Risposte
1

You can use the configuration provided inside the PHPMyAdmin configuration file.

You can use the below Steps to Configure the SSL Connection with RDS by using Phpmyadmin

  1. Download the Certificate Bundle by using the link form the AWS documentation https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
  2. Go to the Configuration File in Phpmyadmin https://www.apt-browse.org/browse/ubuntu/trusty/universe/all/phpmyadmin/4:4.0.10-1/file/etc/phpmyadmin/config.inc.php
  3. Update the Properties with the Example Below, You need to add correct path of the rds-combined-ca-bundle.pem file. and the ssl_ca, ssl_key are optional i believe
// Use SSL for connection
$cfg['Servers'][$i]['ssl'] = true;
// Client secret key
$cfg['Servers'][$i]['ssl_key'] = 
// Client certificate
$cfg['Servers'][$i]['ssl_cert'] = '/etc/mysql-certs/rds-combined-ca-bundle.pem';
// Server certification authority
$cfg['Servers'][$i]['ssl_ca'] = 
// Disable SSL verification (see above note)
$cfg['Servers'][$i]['ssl_verify'] = false;

If you have any troubles please let me know

con risposta 2 anni fa
0

I followed this guide

https://www.webagentnavigator.com/webagent-blog/creating-and-using-a-mariadb-database-on-amazonrds

And i am using ssl_ca to indicate to the bundled cert and not ssl_cert, it works but which should i use actually?

Also the other option i am not Using like the key as AWS doesn't provide it.

Om
con risposta 2 anni fa
  • ssl_ca is fine, as per the article you have shared, If it works, really great.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande