Comment on can't disable SSL certificate verification in dbconfig-common setup of PhpMyAdmin
ThorrJo@lemmy.sdf.org 6 days ago
I managed to figure out how to bypass the cert verification in dbconfig-mysql (named on the tin as dbconfig-common) and got my appliance set up!
-
apt install dbconfig-mysqlbefore installing the PhpMyAdmin package -
In
/usr/share/dbconfig-common/internal/dbc-mysql, in both sections wheretemporary my.cnfis defined, setssl-verify-server-cert = offright below theport =line. -
to install PhpMyAdmin, run
DEBIAN_PRIORITY=low apt install phpmyadminand follow the prompts -
In
/etc/phpmyadmin/config.inc.phpadd the following line directly under$cfg[‘Servers’][$i][‘host’] = $dbserver;:$cfg['Servers'][$i]['ssl'] = true; $cfg['Servers'][$i]['ssl_verify'] = false;