+127
COMPLETADO

SSL connection to Mysql DB

Piotr Walkowiak hace 6 años actualizado por kikilia hace 3 años 7

Can you add support for connections to the Mysql database using SSL?


Regards

Piotr

This would be really great indeed.

 sur le fichier de config glpi/config/config_db.php"

public $dbhost = 'ip:52000';

public $dbuser = 'glpi';

public $dbpassword = '259841252';

public $dbdefault = 'glpibd';

public $dbssl = true;

public $dbsslkey = '/var/www/glpi/config/client-key.pem';

public $dbsslcert = '/var/www/glpi/config/client-cert.pem';

public $dbsslca = '/var/www/glpi/config/ca.pem';

public $dbsslcapath = null;

public $dbsslcacipher = null;

cette configue na pas marché   "Error accessing config table"

malgré que la commande se passe bien

  mysql -u glpi -p -h ip --port 52000 --ssl-ca=ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem

sur le fichier de config glpi/config/config_db.php"

public $dbhost = 'ip:52000';

public $dbuser = 'glpi';

public $dbpassword = '259841252';

public $dbdefault = 'glpibd';

public $dbssl = true;

public $dbsslkey = '/var/www/glpi/config/client-key.pem';

public $dbsslcert = '/var/www/glpi/config/client-cert.pem';

public $dbsslca = '/var/www/glpi/config/ca.pem';

public $dbsslcapath = null;

public $dbsslcacipher = null;

cette configue na pas marché "Error accessing config table"

malgré que la commande se passe bien

mysql -u glpi -p -h ip --port 52000 --ssl-ca=ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem

Will be part of 9.5.0