• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.