Use of engines in 0.9.8a -- "can't use that engine" errors

2006-03-09 Thread Warren Gavin
Hello, I have installed OpenSSL 0.9.8a and have been trying to get it to work with an nCipher nShield HSM. I get the following error when running various openssl commands, e.g. $ openssl genrsa -engine chil 512 can't use that engine 2258:error:84067072:CHIL engine:HWCRHK_INIT:locking missing

Re: Use of Engines

2005-04-10 Thread Tan Eng Ten
ress a function callback for a cmd of type ENGINE_CMD_FLAG_INTERNAL? Dr. Stephen Henson wrote: You might want to look into the use of the auto config mechanism. This will allow simple use of ENGINEs (and possibly more advanced in future) by placing appropriate parameters in openssl.cnf or some other c

Re: Use of Engines

2005-04-08 Thread Dr. Stephen Henson
On Fri, Apr 08, 2005, Edward Chan wrote: > So what are the purpose of the ENGINE_ctrl_* functions? Assuming I don't > use the auto-config file, what steps would I need to do to get the crypto > card working? I already have a configuration file so I don't want to have > another one. I'd like to

RE: Use of Engines

2005-04-08 Thread Edward Chan
that I can use whatever crypt accelerator card the user has. Thanks for all the help. Ed > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Friday, April 08, 2005 4:23 AM > To: openssl-users@openssl.org > Subject: Re: Use of Engines >

Re: Use of Engines

2005-04-08 Thread Dr. Stephen Henson
nd that is the way it looks in most other examples I've seen. Apache, > Stunnel, etc. If someone could point me to some decent docs and examples, > I'll be forever in your debt. > You might want to look into the use of the auto config mechanism. This will allow simple use

Re: Use of Engines

2005-04-08 Thread Tan Eng Ten
enssl-users@openssl.org Subject: Re: Use of Engines Hi Edward, I am guesing that you need to call ENGINE_ctrl() to set the right parameters. These are control commands and each engine has a set of these; to see what control commands are available for the ubsec engine: $ openssl engine ubs

RE: Use of Engines

2005-04-08 Thread Frédéric Donnat
@openssl.org Cc: Subject:RE: Use of Engines Hi nCipher ENGINE is called chill. ;)) openssl engine -t chil (chil) nCipher hardware engine support [RSA, DH, RAND] Maybe nCipher a board based on a bcm582x chip (which allows ubsec ENGINE use). Hope it could help. Regards Fred

RE: Use of Engines

2005-04-08 Thread Frédéric Donnat
of Edward Chan Sent: Thu 4/7/2005 11:42 PM To: openssl-users@openssl.org Cc: Subject:Use of Engines Is it required to call ENGINE_init()? Or is this sufficient ENGINE* e = ENGINE_by_id(id); ENGINE_set_default(e, ENGINE_METHOD_ALL); I have looked in various code, and I mostly

Re: Use of Engines

2005-04-08 Thread Michal Trojnara
On Thursday 07 of April 2005 23:42, Edward Chan wrote: > I have looked in various code, and I mostly see the latter. But in the > stunnel code, I see them doing > > ENGINE* e = ENGINE_by_id(id); > ENGINE_init(e); > ENGINE_set_default(e, ENGINE_METHOD_ALL); That's exactly what engine(3) manual rec

RE: Use of Engines

2005-04-08 Thread Edward Chan
l, etc. If someone could point me to some decent docs and examples, I'll be forever in your debt. Thanks, Ed > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 5:42 PM > To: openssl-users@openssl.org > Subje

Re: Use of Engines

2005-04-07 Thread Tan Eng Ten
Hi Edward, I am guesing that you need to call ENGINE_ctrl() to set the right parameters. These are control commands and each engine has a set of these; to see what control commands are available for the ubsec engine: $ openssl engine ubsec - Or you could just look into the ubsec engi

Use of Engines

2005-04-07 Thread Edward Chan
Title: Use of Engines Is it required to call ENGINE_init()?  Or is this sufficient ENGINE* e = ENGINE_by_id(id); ENGINE_set_default(e, ENGINE_METHOD_ALL); I have looked in various code, and I mostly see the latter.  But in the stunnel code, I see them doing ENGINE* e = ENGINE_by_id