Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Not a Bug
-
Affects Version/s: 5.5.31
-
Fix Version/s: 5.5.32
-
Component/s: None
-
Labels:None
-
Environment:Debian squeeze 64 bit, packages from official MariaDB repositories
Description
Hi,
After switching from Mysql to MariaDB ( Server version: 5.5.31-MariaDB-1squeeze-log ) we lost the ability to connect via SSL to the server.
We were using self signed certificates generated via the method described here and they worked well before the switch to MariaDB : http://dev.mysql.com/doc/refman/5.5/en/creating-ssl-certs.html
We get the following error messages when trying to connect on the same machine having both the client and the server.
dpkg -s mysql-client Package: mysql-client Status: unknown ok not-installed Priority: optional Section: database
dpkg -s mariadb-client Package: mariadb-client Status: install ok installed Priority: optional Section: database Installed-Size: 32 Maintainer: MariaDB Developers <maria-developers@lists.launchpad.net> Architecture: all Source: mariadb-5.5 Version: 5.5.31+maria-1~squeeze Depends: mariadb-client-5.5 (= 5.5.31+maria-1~squeeze)
mysql -v -u user -p database --ssl-ca /etc/mysql/newcerts/ca-cert.pem --ssl-cert /etc/mysql/newcerts/client-cert.pem --ssl-key /etc/mysql/newcerts/client-key.pem Enter password: ERROR 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1)
Thanks.
Gliffy Diagrams
Attachments
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi,
Could you please provide the output of
ldd /usr/sbin/mysqld
ldd /usr/bin/mysql
sudo lsof | grep ssl | grep mysqld
and from MySQL client
SHOW STATUS LIKE '%ssl%';
SHOW VARIABLES LIKE '%ssl%';
Also, do you remember how long ago / on what system / with what openssl version your certs were generated?
And which MySQL 5.1 minor version did you use last before upgrading to MariaDB 5.5?
Thanks.