[SSL] Problème avec have_ssl et/ou have_openssl
Bonjour :),
Je souhaite me connecter a ma base de donnée Mysql (Version 5.1.68) locale avec ssl. Pour cela J'ai suivis le tutoriel Mysql pour générer les clés et les certificats.
Une fois tous cela généré j'ai ajouté ceci:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
#
# * Security Features
#
# Read the manual, too, if you want chroot!
# chroot = /var/lib/mysql/
#
# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
#
ssl-ca=/etc/mysql/openssl/ca-cert.pem
ssl-cert=/etc/mysql/openssl/server-cert.pem
ssl-key=/etc/mysql/openssl/server-key.pem |
dans mon my.cnf en dessous de [mysqld].
Ensuite j'ai redémarré mysql:
Citation:
$> /etc/init.d/mysql restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart mysql
mysql start/running, process 9484
une fois mysql redémarré je lance mysql:
Citation:
$> mysql -u root -p
password: *********
$> mysql> show variables like '%ssl%';
+---------------+------------------------------------+--------------+
| Variable_name | Value |
+---------------+------------------------------------+---------------+
| have_openssl | DISABLED |
| have_ssl | DISABLED |
| ssl_ca | /etc/mysql/openssl/ca-cert.pem |
| ssl_capath | |
| ssl_cert | /etc/mysql/openssl/server-cert.pem |
| ssl_cipher | |
| ssl_key | /etc/mysql/openssl/server-key.pem |
+---------------+------------------------------------+-----------------+
... et je me retrouve avec un have_openssl et have_ssl disabled...:calim2:
Auriez-vous une idée d'où pourrais provenir mon problème ?
Merci
Cordialement,
Fuzo