[Cialug] mysql ssl

Dave Hala dave at 58ghz.net
Wed Jul 15 17:33:35 UTC 2020


I've got a centos 7 mariadb server that I upgraded to mariadb 10.0.38.  I
enabled the ssl connections.   From my webserver (Rhel 8, php 7.2.11),  I'm
not able to make a ssl connection using php mysqli_real_connect().  I get a
200 connect refused error.    Firewalld and selinux are disabled on this
machine for testing.

I was able from the webserver console to make an ssl connection using
"mysql  -h xxx.xxx.xxx.xxx -u myuser -p mypass"  to the mariadb server.
After making the connection I logged into the mariadb server confirmed it
was an ssl connect.

>From apache/php ,no error messages in the mariadb, php or apache logs.   I
see the 200 error by returning the result from the mysql_real_connect();

Anyone got any ideas on how to troubleshoot this?

:) Dave
-- 
NIFCAP  -The Premier Client Intake System for Non-Profit Organizations.
https://www.osis.us


More information about the Cialug mailing list