mysqli::real_connect(): this stream does not support SSL/crypto Filename: mysqli/mysqli_driver.php

Unable to access the Ezeelogin web gui with SSL enabled.

The error in the application logs(/var/www/ezlogin/application/logs/log-2020-01.php) was..

ERROR - 2020-01-07 09:29:42 --> Severity: Warning --> mysqli::real_connect(): this stream does not support SSL/crypto /var/www/ezlogin/system/database/drivers/mysqli/mysqli_driver.php 201

ERROR - 2020-01-07 09:29:42 --> Severity: Warning --> mysqli::real_connect(): Cannot connect to MySQL by using SSL /var/www/ezlogin/system/database/drivers/mysqli/mysqli_driver.php 201

ERROR - 2020-01-07 09:29:42 --> Severity: Warning --> mysqli::real_connect(): [2002]  (trying to connect via (null)) /var/www/ezlogin/system/database/drivers/mysqli/mysqli_driver.php 201

ERROR - 2020-01-07 09:29:42 --> Severity: Warning --> mysqli::real_connect(): (HY000/2002):  /var/www/ezlogin/system/database/drivers/mysqli/mysqli_driver.php 201

ERROR - 2020-01-07 09:29:42 --> Unable to connect to the database

DEBUG - 2020-01-07 09:29:55 --> UTF-8 Support Enabled

 

 

The mysql ssl was configured in Ezeelogin  but the variable  below was entered incorrectly as 

db_port /var/lib/mysql/mysql.sock

The variable was changed to the following to get the web gui working as SSL does not work over mysql sockets.

db_port 3306

 

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.