mariaDB not use openssl fips library

I’m trying to use openSSL fips library in mariadb 10.1.45 community version on Ubuntu 18.04.6 server and I can’t do it.

I have installed on my server the 1.1.1-1ubuntu2.fips.2.1~ version of openssl package and also enable the fips mode in kernel (file /proc/sys/crypto/fips_enabled has number 1 inside it) however when I check the variable version_ssl_library into mariadb I get OpenSSL 1.0.2n 7 Dec 2017 as result.

Originally I installed the mariadb-server package from mariadb repository and then I build and install mariadb following this instructions (Building MariaDB on Ubuntu - MariaDB Knowledge Base) but I have the same result

I just read mariadb documentation ( and undestand that mariadb not necessary use the last version of openssl installed in server and is fine for me but how I have to configure it to use fips library? community version of maridb allows you to use openssl fips library?

1 Like