Dne st 1. květen 2002 22:08 jste napsal(a):
> Josef Vesely schrieb:
> > Dne út 30. duben 2002 20:21 jste napsal(a):
> > > Hi.
> > >
> > > The problem is in parseDataType function in DB.pm file. If its code is
> > > changing for one from some days ago the error disappeared.
> > >
> > > I use this:
> > >
> > > sub parseDataType {
> > >       my $self = shift;
> > >       my $dataType = shift;
> > >       my ( $k1, $k2 );
> > >       ( $k1, $k2 ) = ( $dataType =~
> > >              
> > > /^([^\_]+)*\_*(CA_CERTIFICATE|CERTIFICATE|CRL|REQUEST|RENEW|CRR)/); if(
> > > $k1 eq "" ) {
> > >               $k1 = "VALID" if ( $k2 =~ /CERTIFICATE|CRL/ );
> > >               $k1 = "PENDING" if ( $k2 =~ /REQUEST|RENEW|CRR/ );
> > >       }
> > >       return ( $k2, $k1 );
> > > }
> >
> > Ok, it works, but the request serial numbers are 256, 512, ...
> > after issuing the cerificate serial numbers are 1,2, ...
> >
> > It's a little bad, because I think that creatind initial administrators
> > is finding request numbers 1,2, but there are only 256, 512
>
> This is a change to allow independent RAs and Public-GWs. You can now
> setup independent RAs with independent databases and you have no
> problems with duplicate serials.
>
> If there are problems with duplicate serials because to many requests
> are created at the same time then we can introduce a timestamp-dependent
> component too (but I received no reports about such problems).
>
> > I don't know why,CA admin (ser. num 256) was correctly issued but when I
> > try issue RA admin (ser. num. 512) I got an error
> >
> > Configuration Error. Request not present in DB or the status of the
> > request was changed!.
>
> I have no problems with the fixes (all available via CVS).

I updated from CVS, but the problem still exist.
The problem is, that the phase 3 of initialization didn't determinate, request
number 512 belong to the "inital RA ceritificate" section.

-- 
 ===================================
 Josef "jose" Vesely
 mail: [EMAIL PROTECTED], ICQ: 27347332
 Faculty of Informatics, Masaryk university
 Brno, Czech Republic
===================================

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to