Hello,
I would try something like this:
https://stackoverflow.com/questions/426230/what-is-the-ld-preload-trick
Kamailio will output the version of the library on startup:
/var/log/kamailio.log.1:Jul 31 20:09:04 kama01 /usr/sbin/kamailio[31049]: INFO: tls [tls_mod.c:448]: mod_init(): use OpenSSL version: 30000020
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com
From: David Cunningham via sr-users <sr-users@lists.kamailio.org>
Sent: Donnerstag, 1. August 2024 07:06
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: David Cunningham <dcunningham@voisonics.com>
Subject: [SR-Users] Using a different OpenSSL
Hello,
We have compiled openssl 3.0.9 from source because it's FIPS validated, and want to use it with Kamailio. The server also has the Ubuntu openssl 3.0.2 package installed.
Does anyone know how we can tell Kamailio to use the openssl library in /opt/openssl/lib64, and how we can verify that it really is using it?
Thanking you in advance,
--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782