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
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!.
(The request number 512 is normally in the "Pending Requests".)
--
===================================
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