phpmyadmin配置mysql ssl连接
找到phpmyadmin配置文件,启用配置
$cfg['Servers'][$i]['ssl'] = true;#开启验证
$cfg['Servers'][$i]['ssl_key'] = '/tmp/client-cert/mysql-client-key.pem';#key文件
$cfg['Servers'][$i]['ssl_cert'] ='/tmp/client-cert/mysql-client-cert.pem'#cert文件;
$cfg['Servers'][$i]['ssl_ca'] = '/tmp/cert/mysqld-ca-cert.pem';#ca文件
$cfg['Servers'][$i]['ssl_ca_path'] = '/tmp/client-cert/';//秘钥文件路径
$cfg['Servers'][$i]['ssl_ciphers'] = 'DHE-RSA-AES256-SHA';//加密方式
$cfg['Servers'][$i]['ssl_verify'] = false;#不建议开启