[openssl-users] Facing issues with dynamic loading engine RSA methods using e_capi.so library in openssl-1.1.0b.

Gupta, Saurabh Saurabh.Gupta at cavium.com
Fri Nov 11 14:46:45 UTC 2016

I tried to dynamically load e_capi.so engine example on openssl version 1.1.0b present in the openssl engine directory but not able to offload RSA methods.

Commands Used:
./openssl speed rsa -engine ../engines/capi.so
speed: Unknown algorithm -engine

./openssl s_server -engine ../engines/capi.so
invalid engine "../engines/capi.so"
139890999146240:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:113:filename(/usr/local/lib64/engines-1.1/../engines/capi.so): /usr/local/lib64/engines-1.1/../engines/capi.so: cannot open shared object file: No such file or directory
139890999146240:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:161:
139890999146240:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414:
139890999146240:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:339:id=../engines/capi.so
139890999146240:error:260B606D:engine routines:dynamic_load:init failed:crypto/engine/eng_dyn.c:485:
Using default temp DH parameters

We are facing similar issue with RSA while implementing our custom engine, please let me know if any one have a solution for this. We were able to use the RSA implementation upto 1.02h version, the problem is seen 1.1.0 series.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20161111/636e026c/attachment.html>

More information about the openssl-users mailing list