Hi,

while testing automatic certificate signing, the AutoCA daemon crashes
with the following error whenever I approve+sign a new request at the RA:

OpenCA: General error trapped 700: The compilation of the command 
cmdStartAutoCA failed. Can't call method "getSerial" on an undefined value at 
/opt/openca-base-1-1.0/lib/openca/functions/crypto-utils.lib line 366.<br>
Compilation failed in require at /opt/openca-base-1-1.0/etc/openca/openca_start 
line 65.


The crash occurs in sub libGetSignerCertificateDB at:

if ( not $db_cert )
{
        ## perhaps it is a CA cert?
        my @cacerts = $locDB->searchItems(DATATYPE => 'CA_CERTIFICATE');
        foreach my $cert (@cacerts) {
*** here -->    if ($cert->getSerial() == $sig->getSigner()->{SERIAL}) {
                        $db_cert = $cert;
                        last;
                }
        }
}


However when I restart the AutoCA daemon, the queued request is signed
without errors.  But the daemon crashes again at the following request.


I'm signing with Firefox via the RA interface (on a separate machine).
The browser cert has been created via the pub interface on the same RA.


Any idea what could be wrong?


        Geert


-- 
Geert Hendrickx  -=-  g...@telenet.be  -=-  PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to