Description of problem: Its seems that the version of certutil in nss-tools in RHEL5.2 has issues with the batch processing. It stalls at about the third cert. However, if install each cert individually, they go in fine. How reproducible: Batch process a set of certutil -A certificate installations. Steps to Reproduce: 1. Create a certutil batch file 2. Issue a 'certutil -B <file> -d /etc/pki/nssdb Actual results: certutil stops inserting on the third line of the text file. Expected results: certutil to process the entire set of commands Additional info: I know that the certificates I am using are valid since I was able to do: cd mycerts/ ls > /tmp/filelist.txt cat filelist.txt | awk -F. '{ print $1 }' | xargs -i certutil -A -n "{}" -d /etc/pki/nssdb -i {}.cer and they wall went in fine. This could be a workaround in my .spec file but thought that I should bring up the issue.
Created attachment 306016 [details] Spec file to build a linuxcac-installroot certuitl install and remove of a certificate set
The issues seems to be with nss-tools-3.11.99.4-1.el5
I was able to reproduce this bug using a minimal test case with latest NSPR and NSS sources and reported it upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=434808
A fix is available here: https://bugzilla.mozilla.org/attachment.cgi?id=321817&action=edit Will keep this bug open until a new RHEL 5 package is available.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0557.html