[openssl-users] Facing issues with dynamic loading engine RSA methods using e_capi.so library in openssl-1.1.0b.
Richard Levitte
levitte at openssl.org
Mon Nov 14 15:44:26 UTC 2016
What do you get from this command?
ldd ../engines/capi.so?
I think that the configuration example I gave you in my previous email
will also help this...
Cheers,
Richard
In message <BN3PR07MB2467D71D81D82628B21460C497BB0 at BN3PR07MB2467.namprd07.prod.outlook.com> on Fri, 11 Nov 2016 14:46:45 +0000, "Gupta, Saurabh" <Saurabh.Gupta at cavium.com> said:
Saurabh.Gupta> I tried to dynamically load e_capi.so engine example on openssl
Saurabh.Gupta> version 1.1.0b present in the openssl engine directory but not able to
Saurabh.Gupta> offload RSA methods.
Saurabh.Gupta>
Saurabh.Gupta> Commands Used:
Saurabh.Gupta> (i)
Saurabh.Gupta> ./openssl speed rsa -engine ../engines/capi.so
Saurabh.Gupta> Error:
Saurabh.Gupta> speed: Unknown algorithm -engine
Saurabh.Gupta>
Saurabh.Gupta> (ii)
Saurabh.Gupta> ./openssl s_server -engine ../engines/capi.so
Saurabh.Gupta> Error:
Saurabh.Gupta> invalid engine "../engines/capi.so"
Saurabh.Gupta> 139890999146240:error:25066067:DSO support routines:dlfcn_load:could
Saurabh.Gupta> not load the shared library:crypto/dso/dso_dlfcn.c:113:filename
Saurabh.Gupta> (/usr/local/lib64/engines-1.1/../engines/capi.so):
Saurabh.Gupta> /usr/local/lib64/engines-1.1/../engines/capi.so: cannot open shared
Saurabh.Gupta> object file: No such file or directory
Saurabh.Gupta> 139890999146240:error:25070067:DSO support routines:DSO_load:could not
Saurabh.Gupta> load the shared library:crypto/dso/dso_lib.c:161:
Saurabh.Gupta> 139890999146240:error:260B6084:engine routines:dynamic_load:dso not
Saurabh.Gupta> found:crypto/engine/eng_dyn.c:414:
Saurabh.Gupta> 139890999146240:error:2606A074:engine routines:ENGINE_by_id:no such
Saurabh.Gupta> engine:crypto/engine/eng_list.c:339:id=../engines/capi.so
Saurabh.Gupta> 139890999146240:error:260B606D:engine routines:dynamic_load:init
Saurabh.Gupta> failed:crypto/engine/eng_dyn.c:485:
Saurabh.Gupta> Using default temp DH parameters
Saurabh.Gupta> ACCEPT
Saurabh.Gupta>
Saurabh.Gupta> We are facing similar issue with RSA while implementing our custom
Saurabh.Gupta> engine, please let me know if any one have a solution for this. We
Saurabh.Gupta> were able to use the RSA implementation upto 1.02h version, the
Saurabh.Gupta> problem is seen 1.1.0 series.
Saurabh.Gupta>
Saurabh.Gupta> Regards,
Saurabh.Gupta> Saurabh
More information about the openssl-users
mailing list