Hi all.
I am working with OpenCA 0.9.2.5 + nCipher nShield.
I have create the self-signed certificate for the CA without problems.
But when I try to sign any certificate I get the following error:
----------------------------------------------------------------------------------------------------
log file: openca/var/stderr.log
----------------------------------------------------------------------------------------------------
Use of uninitialized value in join or string at
/usr/local/src/OpenCA-0.9.2.5/build0.9.2.5/modules/perl5/i386-linux-thread-multi/OpenCA/OpenSSL/SMIME.pm
line 232.
PKI Master Alert: OpenCA::Token::nCipher error
PKI Master Alert: Aborting all operations
PKI Master Alert: Error: 8012006
PKI Master Alert: Message: OpenCA::OpenSSL::SMIME->encrypt: unknown
problem encrypting (7777067).
Loading tokens and/or keys on Module#1, ESN 8C0A-1768-8918
0 cardset(s), 0 softcards and 0 key(s) loaded, in total across all
module(s).
Executing /usr/bin/openssl ...
engine "chil" set.
unable to load certificate
23265:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:637:Expecting: TRUSTED CERTIFICATE
error in smime
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
When I use as a crypto layer OpenSSL instead of nCipher everything works OK.
Searcing on the Internet, the problem seem to be related to a OpenSSL
bug with the PKCS#7 implementation.
I have use a patch for OpenSSL
(http://sourceforge.net/mailarchive/message.php?msg_id=7620466) but it
still does not work.
Can somebody give a hand with this?
Thank you people.
Jorge
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users