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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南