Bug #21464 mysqld doesn't startup with ssl options
Submitted: 6 Aug 2006 11:01 Modified: 9 Aug 2006 16:52
Reporter: stefan sonnenberg Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0.22 OS:Linux (Debian unstable x86)
Assigned to: Sveta Smirnova CPU Architecture:Any

[6 Aug 2006 11:01] stefan sonnenberg
Description:
Trying to start mysqld using SSL:

mysqld --ssl-ca=Sunmountain-cacert.pem --ssl-cert stefan.sonnenberg\@freenet.de-cert.pem --ssl-key=stefan.sonnenberg\@freenet.de-key.pem

it dies.
Resolved stack trace:

0x81ad2fc handle_segfault + 668
0xffffe420 _end + -141251696
0xafe5b9c8 _end + -1485143752
0xa7cdb05f _end + -1620936753
0x84b8200 __cxa_pure_virtual + 0
0x84ac271 _ZN5yaSSL8PemToDerEPKcNS_8CertTypeE + 753
0x8496cf7 _ZN5yaSSL9read_fileEPNS_7SSL_CTXEPKciNS_8CertTypeE + 135
0x8496e64 SSL_CTX_use_PrivateKey_file + 52
0x84624c8 vio_set_cert_stuff + 88
0x8462739 new_VioSSLAcceptorFd + 201
0x81afcf6 main + 2086
0xa7ccdea8 _end + -1620990440
0x812adb1 _start + 33

The SSL files (CA,Cert and key) are created using tinyca and are valid.

How to repeat:
see above
[9 Aug 2006 16:52] Sveta Smirnova
Thank you for the report.

As I see on TinyCA home page it is just a wrapper of OpenSSL. I can not repeat the problem using OpenSSL, last developer sources and mysql-max-5.0.22-linux-i686-glibc23 package.

Please, try current 5.0.24 version of MySQL and if you can repeat the bug with it, indicate exact version of MySQL package you are using, generate example keys using TinyCA, upload they and change status of the bug to "Open".