Hi Geert,

i had the same Problem and could solve it for me.

Look at the thread "problem with autos" and my posting from Tue, 20 Jul 2010.
I tried to use the "old" db handles as in v1.0.2 in startAutoCA and it works.

Best regards

Claus


Zitat von Geert Hendrickx <g...@telenet.be>:

> 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
>
>




------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to