I want to encrypt the connection to db from phpmyadmin using SSL. I am confused on how to use bundle certificate
Question posted in PhpMyAdmin
The official documentation can be found here.
The official documentation can be found here.
I want to encrypt the connection to db from phpmyadmin using SSL. I am confused on how to use bundle certificate
3
Answers
You have to set it up as described in the docs using $cfg[‘Servers’][$i][‘ssl’] option:
This worked for me:
Upload the rds-combined-ca-bundle.pem to some path that phpMyAdmin can access.
Then set the following configuration vars in config.inc.php:
First you have to download the certificate by visiting here:
Download an SSL certificate for your managed database in Amazon Lightsail
Here is a direct link for combined ca bundle:
rds-combined-ca-bundle.pem
Now copy this ‘rds-combined-ca-bundle.pem’ file to your phpMyAdmin folder and search for config.inc.php file.
open this file (config.inc.php) in notepad or in any text editor and write the below lines:
Now save the file and visit you host (http://localhost/phpMyAdmin).