Hi,
This is a similar question on a previous thread: "[SR-Users] Compiling kamailio with custom openssl"
Is it possible to specify a different OpenSSL engine for kamailio to use?
For example:
On nginx you have the config param: ssl_engine <engine> On apache you have the config param: SSLCryptoDevice <engine>
Is there anything similar on Kamailio?
We are using debian 8 with openssl-1.0.1t and these are the available engines:
root@debian:/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines# ls -l total 404 -rw-r--r-- 1 root root 19512 Jun 21 11:07 lib4758cca.so -rw-r--r-- 1 root root 19784 Jun 21 11:07 libaep.so -rw-r--r-- 1 root root 15576 Jun 21 11:07 libatalla.so -rw-r--r-- 1 root root 6104 Jun 21 11:07 libcapi.so -rw-r--r-- 1 root root 24232 Jun 21 11:07 libchil.so -rw-r--r-- 1 root root 19864 Jun 21 11:07 libcswift.so -rw-r--r-- 1 root root 6104 Jun 21 11:07 libgmp.so -rw-r--r-- 1 root root 93304 Jun 21 11:07 libgost.so -rw-r--r-- 1 root root 15432 Jun 21 11:07 libnuron.so -rw-r--r-- 1 root root 6104 Jun 21 11:07 libpadlock.so -rw-r--r-- 1 root root 24096 Jun 21 11:07 libsureware.so -rw-r--r-- 1 root root 19784 Jun 21 11:07 libubsec.so root@debian:/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines#
The reason is we have another server with a Cavium SSL card, which provides a dynamic engine:
-rw-r--r-- 1 root root 127968 Jun 23 15:18 libcavium.so
If it is not possible via config parameter, is there a way to specify the openssl engine to use before compiling?
Thanks in advance.
Best regards, Joel.