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.
    Related Articles RSS Feed
    License expired though its not time / How to flush license / Number of servers exceeds maximum limit
    Viewed 3877 times since Wed, Jun 14, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 4726 times since Thu, Jun 15, 2017
    Disabling reCAPTCHA
    Viewed 2365 times since Wed, Jun 14, 2017
    no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth]
    Viewed 1572 times since Mon, Jan 28, 2019
    Error opening terminal: xterm-256color.
    Viewed 589 times since Wed, Jul 31, 2019
    User add failed
    Viewed 2716 times since Wed, Jun 14, 2017
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 7974 times since Tue, Jan 30, 2018
    Google Recaptcha shutdown issue
    Viewed 861 times since Tue, Jul 3, 2018
    main admin user account suspended after entering incorrect security code
    Viewed 2648 times since Wed, Jun 14, 2017
    Error occured. Please contact the administrator - Permission Denied - creation failed
    Viewed 1789 times since Thu, Jun 15, 2017