Welcome Guest, Not a member yet? Register   Sign In
Problem with database SSL Connection
#1

Hi,

i try to connect to a database using ssl encryption and i get the following error:

Code:
Message: mysqli::real_connect(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.


The connection with the local mysql client and the pem files works, with codeigniter not.
My encryption config for the db looks like this

Code:
'encrypt' => array('ssl_key' => '/etc/mysql/client-key.pem',
        'ssl_cert' => '/etc/mysql/client-cert.pem',
        'ssl_ca' => '/etc/mysql/ca-cert.pem',
        'ssl_verify' => FALSE),

can someone tell me how to fix this?

Thanks.
Alex
Reply




Theme © iAndrew 2016 - Forum software by © MyBB