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

2016-11-14 Thread Richard Levitte
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 

 on Fri, 11 Nov 2016 14:46:45 +, "Gupta, Saurabh" 
 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
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


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

2016-11-11 Thread Gupta, Saurabh

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:
(i)
./openssl speed rsa -engine ../engines/capi.so
Error:
speed: Unknown algorithm -engine

(ii)
./openssl s_server -engine ../engines/capi.so
Error:
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
ACCEPT

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.

Regards,
Saurabh
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users