Hi,
Using OpenCA 0.9.1.5 I modified eximDownloadCRLs function in
/OpenCA/lib/functions/export-import.lib so that a different file goes
written on disk (in /OpenCA/var/crypto/crls) depending on issuer DN. This
works.
Retrieving CRL list through https://<my
RA>/cgi-bin/ra/RAServer?cmd=CrlList&dataType=VALID doesn't fully work :
First, it lists 2 CRLs on the first page, then I have to click on "extra
references" to get next ones.
The problem comes from /OpenCA/lib/cmds/crlList :
(...)
my $matched = $query->param( 'rows' );
(...)
if ( not $matched ) {
$matched = $db->elements( DATATYPE=>$dataType );
};
$matched is equal to 2. I wonder why, since there are 3 or 4 CRLs that were
imported being "VALID".
Second and more seriously, whenever I insert a new CRL, the total of them
remains equal to 3, while the first CRL shown on page get overwritten by the
new inserted one :-/
So this explains that. Apparently there is something weird when inserting
CRLs into DB (I use DBM). This overwrites instead of appending CRL files...
I wonder which function controls this... Thanks for your help at finding it
!
Wishing a very Happy New Year to everybody ! :-)
Barbara Post
-------------------------------------------------------
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_id78&alloc_id371&op=click
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users