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
feita há 2 anos308 visualizações
2 Respostas
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

respondido há 2 anos
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
respondido há 2 anos
  • ssl_ca is fine, as per the article you have shared, If it works, really great.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas