Welcome Guest, Not a member yet? Register   Sign In
Correct syntax for encrypted database using ssl
#3

(This post was last modified: 04-06-2021, 03:34 AM by fedeburo.)

(04-06-2021, 01:24 AM)InsiteFX Wrote: We need to know which database driver you are using, each driver has different settings.

These may point you into the right direction.

MySQLi SSL verify

CodeIgniter – Google Cloud MySQL connect with SSL

Sorry, the database driver that i am using is MySQLi.
I had made changes in the Database.php class, letting the encrypt false the empty strings:
// 'encrypt' => array(
// 'ssl_key' =>'',
// 'ssl_cert' =>'',
// 'ssl_ca' =>'',
// 'ssl_capath' =>'',
// 'ssl_cipher' => '',
// 'ssl_verify' =>FALSE),
And in the .env, i only have the ssl_ca with the path /etc/....
Reply


Messages In This Thread
RE: Correct syntax for encrypted database using ssl - by fedeburo - 04-06-2021, 03:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB