This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB 10.3.15 : Referencing OpenSSL library to tar distribution

Hi Everyone,

I used MariaDB "tar" distribution [https://downloads.mariadb.com/MariaDB/mariadb-10.3.15/bintar-linux-glibc_214-x86_64/mariadb-10.3.15-linux-glibc_214-x86_64.tar.gz] to install my DB. The installation comes with default YaSSL 2.4.4 embedded. The binaries seems to be not supporting OpenSSL. The same version when installed using rpm [via yum] works well on OpenSSL. I like to know if we can enable OpenSSL on the MariaDB binaries coming from "tar" distribution. If yes, please guide me how.

++++++++++++ DB Variables ++++++++++++

MariaDB [(none)]> SHOW VARIABLES LIKE '%ssl%';

+---------------------+-----------------------------------------------------------+
| Variable_name       | Value                                                     |
+---------------------+-----------------------------------------------------------+
| have_openssl        | NO                                                        |
| have_ssl            | DISABLED                                                  |
| ssl_ca              | /opt/apps/MariaDB/certs/ca.pem          |
| ssl_capath          |                                                           |
| ssl_cert            | /opt/apps/MariaDB/certs/server-cert.pem |
| ssl_cipher          |                                                           |
| ssl_crl             |                                                           |
| ssl_crlpath         |                                                           |
| ssl_key             | /opt/apps/MariaDB/certs/server-key.pem  |
| version_ssl_library | YaSSL 2.4.4                                               |
+---------------------+-----------------------------------------------------------+

+++++++++++
Lib Linkages:
+++++++++++

$ ldd mysqld
        linux-vdso.so.1 =>  (0x00007ffd49dc5000)
        libaio.so.1 => /lib64/libaio.so.1 (0x00007f41fe7d4000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f41fe5cc000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f41fe395000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f41fe191000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f41fdf75000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f41fdc72000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f41fd970000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f41fd5a3000)
        libfreebl3.so => /lib64/libfreebl3.so (0x00007f41fd3a0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f4200935000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f41fd18a000)

Thank you, Ullas

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.