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
已提问 2 年前308 查看次数
2 回答
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

已回答 2 年前
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
已回答 2 年前
  • ssl_ca is fine, as per the article you have shared, If it works, really great.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则