Certutil is supposed to support adding certs from stdin, however, this now crashes. certutil -d . -A -t u,u,u, -a -n agent-3 Segmentation fault  PR_GetOpenFileInfo(0x0, 0xffbef428, 0x1, 0xff3e6694, 0x17998, 0x0), at 0xff30c9d0 => SECU_FileToItem(dst = 0xffbef4b0, src = (nil)), line 538 in "secutil.c"  SECU_ReadDERFromFile(der = 0xffbef53c, inFile = (nil), ascii = 1), line 619 in "secutil.c"  AddCert(slot = 0x247548, handle = 0x23da28, name = 0x21c590 "agent-3", trusts = 0xffbef868 "u,u,u,", inFile = (nil), ascii = 1, emailcert = 0, pwdata = 0xffbef644), line 285 in "certutil.c"  main(argc = 9, argv = 0xffbef6fc), line 2864 in "certutil.c"
Steve, this is a known bug that will be fixed in NSS 3.6. You can use the -i option to work around this. *** This bug has been marked as a duplicate of 136804 ***
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.