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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠