Hi,

I have to connect to a web server with SSL connection and using a hsm
private key (the key is not exportable): is it possible?

The command I use is:
openssl s_client -connect myserver.com:443 -cert cert.pem -engine chil
-key privkey
(privkey is the name of the key in hsm)

and the error is:
[7653] nCipher nFast HWCryptoHook 1.10.2cam134 flags=00000010
bignums=4ll mutexes getpassphrase getphystoken maxmutexes=1
maxsimultaneous=1000 (hwcrhk 1.10.2cam134 built on Aug 18 2005
11:01:09)
engine "chil" set.
unable to get private key from 'privkey'
7653:error:02001002:system library:fopen:No such file or
directory:bss_file.c:278:fopen('privkey','r')
7653:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
7653:error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system
lib:ssl_rsa.c:693:

openssl seek the key in filesystem but the key is in hsm!

Any idea?

--
*** Fanton Flavio
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to