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".
I think the basic problem is that our CRLs have no sequential serial numbers. Does there be an argument to not use the timestamp LAST_UPDATE in format 20031224153020 (2003-Dec-24 15:30:20) as the serial? This would create a perfect ordered list.
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 !
This is still an open issue.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- 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_id=1278&alloc_id=3371&op=click _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
