My Debian squeeze server is running mysqld version 5.1. How do I determine if the SSL libraries it is using are OpenSSL or yaSSL?
(I am pretty sure this MySQL supports SSL as the User table has the ssl_type
column.)
My Debian squeeze server is running mysqld version 5.1. How do I determine if the SSL libraries it is using are OpenSSL or yaSSL?
(I am pretty sure this MySQL supports SSL as the User table has the ssl_type
column.)
Run LDD on the MySql executable to see what it is linked against.
If you want to know from within MySQL you can check the status variable Rsa_public_key as it only exists in builds with OpenSSL:
(See the relevant documentation: http://dev.mysql.com/doc/refman/5.6/en/server-status-variables.html#statvar_Rsa_public_key)
PS: Currently, the MySQL Community Edition binaries built by MySQL are using yaSSL, but e.g. Percona XtraDB Cluster binaries are built using OpenSSL. YMMV
Run
it will show that your MySQL is linked to witch SSL library.
According to this blog post, the MySQL packages in Debian don't include TLS support due to licensing issues. That post is fairly old, but based on the mysql-server-core-5.1 package not having a dependency on OpenSSL or GnuTLS I suspect that this is still true.