I did some debugging and it appears to be very same problem as Jonathan Nicholson had in his message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg03886.html
My output is: OpenCA::Token::OpenSSL->new: class instantiated<br>
OpenCA::Token::OpenSSL->new: crypto and name present<br>
OpenCA::Token::OpenSSL->new: NAME CA<br>
OpenCA::Token::OpenSSL->new: PASSWD_PARTS 1<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::setParams<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::getReqAttribute<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::DESTROY<br>
writing RSA key
OpenCA::Token::OpenSSL->new: class instantiated<br>
OpenCA::Token::OpenSSL->new: crypto and name present<br>
OpenCA::Token::OpenSSL->new: NAME CA<br>
OpenCA::Token::OpenSSL->new: PASSWD_PARTS 1<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::setParams<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::getReqAttribute<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::getCertAttribute<br>
OpenCA::Token::OpenSSL->OpenCA::Token::OpenSSL: AUTOLOAD =>
OpenCA::Token::OpenSSL::getNumericDate<br>
PKI Debugging: OpenCA::Token::OpenSSL error
PKI Debugging: Aborting all operations
PKI Debugging: Error: 7755011
PKI Debugging: Message: OpenCA::OpenSSL->getNumericDate: No argument
specified.
PKI Debugging: debugging messages of OpenSSL token follow
This indicates that the crash of issueCertificate is in function libIsLifetimeTooLong of crypto-utils.lib. The error is caused by the following line:
my $expire_ca = $cryptoShell->getNumericDate($cacert->getParsed()->{NOTAFTER});
The problem is that I don't understand why NOTAFTER is empty. Can you output NOTAFTER with a print command to verify the problem?
Michael
openca-snapshot from 19 Dec 2003 Postgres 7.3.4 as Database backend
-- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
