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
    vi editor having issues while logged in via ezeelogin
    Viewed 3531 times since Wed, Jun 14, 2017
    How do i disable google 2 factor authentication or other 2factor mechanisms in the GUI?
    Viewed 6414 times since Wed, Jun 14, 2017
    key_read: uudecode ssh user cant login with ssh key
    Viewed 7133 times since Thu, Jun 15, 2017
    Blank page when clicking add server
    Viewed 2424 times since Wed, Aug 16, 2017
    Configure Automatic su or sudo
    Viewed 5958 times since Thu, Jun 15, 2017
    Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session
    Viewed 1794 times since Thu, Sep 6, 2018
    "Error: LDAP extension is not installed".
    Viewed 3180 times since Fri, Sep 8, 2017
    ezsh segfault or kicked of ezsh ssh session or ssh session crash
    Viewed 2658 times since Thu, Jun 15, 2017
    Will i be able to access my server if the ezeelogin license server goes down?
    Viewed 2337 times since Wed, Jun 14, 2017
    Error: Server login failed. Authentication by SSH key failed!. Remote Error: (1) if: Expression Syntax..
    Viewed 3279 times since Thu, Jun 15, 2017