[debian-mysql] Bug#927289: Bug#927289: mariadb-server-10.3: SSL error: Unable to get private key

Olaf van der Spek olafvdspek at gmail.com
Wed Apr 17 14:20:28 BST 2019


Op wo 17 apr. 2019 om 15:09 schreef Otto Kekäläinen <otto at debian.org>:
>
> What does this print?
>
> find /etc/mysql/ -ls

# find /etc/mysql/ -ls
   137133      4 drwxr-xr-x   5 root     root         4096 Apr 17
12:14 /etc/mysql/
   132729      0 lrwxrwxrwx   1 root     root           24 Apr 17
06:56 /etc/mysql/my.cnf -> /etc/alternatives/my.cnf
   399024      4 drwxr-xr-x   2 root     root         4096 Apr 17
12:17 /etc/mysql/ssl
   399278      4 -rw-r--r--   1 root     root          981 Apr 17
12:17 /etc/mysql/ssl/client-cert.pem
   399274      4 -rw-r--r--   1 root     root          899 Apr 17
12:16 /etc/mysql/ssl/server-req.pem
   399276      4 -rw-------   1 root     root         1679 Apr 17
12:17 /etc/mysql/ssl/client-key.pem
   399277      4 -rw-r--r--   1 root     root          899 Apr 17
12:17 /etc/mysql/ssl/client-req.pem
   399053      4 -rw-r--r--   1 root     root         1679 Apr 17
12:14 /etc/mysql/ssl/ca-key.pem
   399273      4 -rw-------   1 root     root         1679 Apr 17
12:16 /etc/mysql/ssl/server-key.pem
   399275      4 -rwxr-xr-x   1 root     root          981 Apr 17
12:16 /etc/mysql/ssl/server-cert.pem
   399272      4 -rw-r--r--   1 root     root         1127 Apr 17
12:15 /etc/mysql/ssl/ca-cert.pem
   139576      4 -rwxr-xr-x   1 root     root         1620 Jan 18
20:04 /etc/mysql/debian-start
   137152      4 drwxr-xr-x   2 root     root         4096 Apr 17
12:24 /etc/mysql/mariadb.conf.d
   139714      4 -rw-r--r--   1 root     root         2934 Apr 17
12:24 /etc/mysql/mariadb.conf.d/50-server.cnf
   139568      4 -rw-r--r--   1 root     root          336 Jan  8
22:10 /etc/mysql/mariadb.conf.d/50-mysql-clients.cnf
   139567      4 -rw-r--r--   1 root     root          733 Jan  8
22:10 /etc/mysql/mariadb.conf.d/50-client.cnf
   139577      4 -rw-r--r--   1 root     root         1032 Jan  8
22:10 /etc/mysql/mariadb.conf.d/50-mysqld_safe.cnf
   137151      4 -rw-r--r--   1 root     root          869 Jan  8
22:10 /etc/mysql/mariadb.cnf
   139615      4 -rw-------   1 root     root          277 Apr 17
07:02 /etc/mysql/debian.cnf
   137134      4 drwxr-xr-x   2 root     root         4096 Apr 17
06:56 /etc/mysql/conf.d
   137136      4 -rw-r--r--   1 root     root           55 Aug  3
2016 /etc/mysql/conf.d/mysqldump.cnf
   137135      4 -rw-r--r--   1 root     root            8 Aug  3
2016 /etc/mysql/conf.d/mysql.cnf
   137137      4 -rw-r--r--   1 root     root          839 Aug  3
2016 /etc/mysql/my.cnf.fallback

> Are your file permissions correct?

Don't know ;)

> Does TLS work on any previous version of MariaDB in Debian, a MariaDB
> version from MariaDB.org repos or using some MySQL version?

It's the first time I try to setup TLS. Maybe it's related to openssl
vs non-openssl?

> In Debian packaging we can only fix things that "normally" work. If it
> is an upstream issue it is out of scope of Debian packaging work.
>
> Also see related https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921151



-- 
Olaf



More information about the pkg-mysql-maint mailing list