117 Commits

Author SHA1 Message Date
julien.pierre.bugs%sun.com
c3d7a51aec Fix for bug 340040 - add certutil option to verify an OCSP responder cert. r=nelson
git-svn-id: svn://10.0.0.236/trunk@199080 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 01:08:59 +00:00
julien.pierre.bugs%sun.com
1a94b08b86 Fix for bug 335036. certutil tries to shutdown NSS even if it didn't initialize . r=wtchang, nelson
git-svn-id: svn://10.0.0.236/trunk@196631 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 02:17:26 +00:00
wtchang%redhat.com
377e2c4373 Bugzilla bug 334683: removed extraneous semicolons. r=alexei.volkov.
Modified files: cmd/certutil/certutil.c lib/pki/pkistore.h


git-svn-id: svn://10.0.0.236/trunk@194687 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 19:04:23 +00:00
nelson%bolyard.com
4b89440f12 Don't add 3 to the user-supplied number of validity months. Bug 333679.
r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@194443 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 01:00:11 +00:00
julien.pierre.bugs%sun.com
dec84162f8 Fix for 333657 . Increase maximum RSA key size to 8192 bits in freebl. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194210 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 05:39:01 +00:00
wtchang%redhat.com
5ee099ec32 Bugzilla Bug 328228: fixed the typo "secp169k1". The patch is contributed
by jyri <jyri.virkki@sun.com>. r=wtc,vipul.gupta.
Modified files: bltest/blapitest.c certutil/certutil.c


git-svn-id: svn://10.0.0.236/trunk@190895 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:15:57 +00:00
alexei.volkov.bugs%sun.com
316c78b15d 53229: certutil should not use gets();
julien rv+; wan-teh sr+


git-svn-id: svn://10.0.0.236/trunk@185002 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 01:46:59 +00:00
julien.pierre.bugs%sun.com
2d586238a6 Fix for 166727 . certutil should not call CERT_GetDBContentVersion. r=nelson
git-svn-id: svn://10.0.0.236/trunk@184428 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 21:18:26 +00:00
julien.pierre.bugs%sun.com
cd9e48019f Remove dead files. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@184121 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 00:48:41 +00:00
julien.pierre.bugs%sun.com
252f4e19f5 Fix for bug 292390 . Prevent crash in certutil with -P option and dbprefix omitted.
git-svn-id: svn://10.0.0.236/trunk@172886 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:58:49 +00:00
nelsonb%netscape.com
d8464f4c39 Prevent crash in certutil -C when incoming request has no attributes.
Bug 291542. r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@172640 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:12:00 +00:00
alexei.volkov.bugs%sun.com
775e2d0de9 Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+
git-svn-id: svn://10.0.0.236/trunk@172015 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 02:24:17 +00:00
neil.williams%sun.com
8422202248 Bug 286505 Now reports an error on EOF in standard input. Leaving resolution
unchanged until we find out why the failure is different on SPARC than on x86.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170915 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 03:36:55 +00:00
neil.williams%sun.com
e36019c5db Bug 285208 Fixes ext processing bug introduced by previous patch.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170816 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 01:43:47 +00:00
neil.williams%sun.com
433054e19a Bug 285208: certutil when given arguments for both -7 and -8 would create two
subjAltName extensions. Now a list single extension with both name types in
created.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170647 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 18:55:46 +00:00
neil.williams%sun.com
8395d7fafb r=nelson Bug=263779
git-svn-id: svn://10.0.0.236/trunk@170477 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 23:02:48 +00:00
wtchang%redhat.com
1365bb6f66 Bugzilla Bug 282527: fixed a bug that prevented certutil from generating
a cert with multiple DNS names in the subjectAltName extension.  The patch
is contributed by Neil Williams of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@169700 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:44:09 +00:00
nelsonb%netscape.com
24d3f5738b Fix certutil's ability to read PQG files. Make certutil able to read
the files produced by the command "makepqg -a".  Plug some memory leaks.
r=relyea,vipul  Bug 247739


git-svn-id: svn://10.0.0.236/trunk@158387 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 22:23:00 +00:00
ian.mcgreer%sun.com
f7fd7e85b4 bug 180268, reimplement ssl step-up for builtins
git-svn-id: svn://10.0.0.236/trunk@156475 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 20:08:38 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
nelsonb%netscape.com
f887f9cc12 Import base64 encoded certificate files with old MAC line endings.
Bug 221272. sr=wtc.


git-svn-id: svn://10.0.0.236/trunk@152828 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-16 23:52:46 +00:00
wchang0222%aol.com
0882fac1ee Bugzilla bug 233112: fixed a typo: "futuer" -> "future". Thanks to
Heikki Toivonen <hjtoi-bugzilla@comcast.net> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@152357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 05:56:54 +00:00
nelsonb%netscape.com
6a696f9188 Invoke SECU_RegisterDynamicOids() so that more OIDs will print out.
Bug 132942.  a=wtc.


git-svn-id: svn://10.0.0.236/trunk@152051 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:48:58 +00:00
jpierre%netscape.com
12f7d5ece4 Fix crash in certutil if usage is omitted
git-svn-id: svn://10.0.0.236/trunk@149132 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 00:01:32 +00:00
ian.mcgreer%sun.com
decc84df49 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs


git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 13:45:42 +00:00
jpierre%netscape.com
c124a4adcb Fix for 215182 - certutil prints incorrect nickname. r=wtc
git-svn-id: svn://10.0.0.236/trunk@147135 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 00:10:54 +00:00
jpierre%netscape.com
0561999feb Fix for 215214 - make certutil show all instances of certs . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147013 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:00:32 +00:00
jpierre%netscape.com
0ec89fd1ed Prevent crash if certlist is NULL
git-svn-id: svn://10.0.0.236/trunk@146643 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-09 00:54:20 +00:00
jpierre%netscape.com
01e91272d3 Fix bug 214307 - add certutil batch mode . r=wtc
git-svn-id: svn://10.0.0.236/trunk@146640 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 23:30:29 +00:00
wtc%netscape.com
eee783e6a0 Bug 206926: 1. Undo the changes to secrng.h, pqgutil.h, swfutl.c,
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h.  A few don't need to include
pqgutil.h.  5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.


git-svn-id: svn://10.0.0.236/trunk@143125 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 23:31:32 +00:00
nelsonb%netscape.com
e4a0e4653e Display an error message instead of crashing if the user forgets the -n
option with the -O (Dump Chain) option.


git-svn-id: svn://10.0.0.236/trunk@142153 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-06 02:50:03 +00:00
nelsonb%netscape.com
18a74c3e7d Fix bug 200224. Eliminate null ptr dereference.
git-svn-id: svn://10.0.0.236/trunk@140609 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 23:24:01 +00:00
relyea%netscape.com
f054c87eff Incorporate wtc comment from bug 19061 (removal of commented code).
git-svn-id: svn://10.0.0.236/trunk@138888 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 23:11:09 +00:00
relyea%netscape.com
48cadc778a Print all the certs for a given nickname, not just the first.
git-svn-id: svn://10.0.0.236/trunk@138881 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:32:24 +00:00
wtc%netscape.com
23826d1288 Bug 145029: fixed compiler warnings (mostly "xxx might be used
uninitialized").


git-svn-id: svn://10.0.0.236/trunk@136476 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 02:49:11 +00:00
relyea%netscape.com
95a9aff695 Add the ability to generate certs with multiple DNS names.
git-svn-id: svn://10.0.0.236/trunk@136094 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 22:59:42 +00:00
bishakhabanerjee%netscape.com
43ef69edd2 checking return value of NSS_Shutdown. Bug 171263
git-svn-id: svn://10.0.0.236/trunk@135950 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:31:36 +00:00
wtc%netscape.com
9bb9b998ad Bug 183612: renamed some new functions to be consistent with existing
function names containing SubjectKey and PublicKey.  Moved internal
functions to private headers and use the lowercase cert_ prefix for the
internal functions for subject key ID mapping hash table. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@135480 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:26:34 +00:00
nelsonb%netscape.com
d36cf9c052 Support SHA256, SHA384, and SHA512 hashes in NSS.
git-svn-id: svn://10.0.0.236/trunk@135163 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 06:05:45 +00:00
relyea%netscape.com
835ba61f1e Sigh, this is what was breaking the Linux builds... incorrect initializer.
git-svn-id: svn://10.0.0.236/trunk@135041 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 18:09:16 +00:00
relyea%netscape.com
224056f917 Add code to create multiple email addresses in a single cert.
git-svn-id: svn://10.0.0.236/trunk@135036 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:18:06 +00:00
nelsonb%netscape.com
2a6f78cf87 Verify the self-signed signature on PKCS 10 cert requests before honoring
them.  Bug 174193.


git-svn-id: svn://10.0.0.236/trunk@132267 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 21:58:24 +00:00
bishakhabanerjee%netscape.com
93ae51e1cc changed error string to reflect error better: 162714
git-svn-id: svn://10.0.0.236/trunk@132199 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 00:13:03 +00:00
nelsonb%netscape.com
01270dc30d Use unsigned ints for serial numbers. Bug 173872.
Add missing line break to cert requests.  Bug 174659.
Remove unused variables, and #ifndef NSPR20 code.


git-svn-id: svn://10.0.0.236/trunk@132126 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 01:41:14 +00:00
ian.mcgreer%sun.com
c91514f4dd bug 158078, unitialized variable due to a lot of unneccessary code
git-svn-id: svn://10.0.0.236/trunk@130530 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 20:30:11 +00:00
nicolson%netscape.com
4b34ca8158 Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".


git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
wtc%netscape.com
6ee9d013fd Bug 136804: initialize inFile to PR_STDIN instead of NULL so that we don't
crash if the -i option is not specified.  Added two assertions to avoid
closing PR_STDIN due to internal errors.


git-svn-id: svn://10.0.0.236/trunk@128940 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 03:52:49 +00:00
jpierre%netscape.com
5a725d3799 Make certutil use the new CERT_VerifyCertificate function when verifying certs
git-svn-id: svn://10.0.0.236/trunk@125265 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 00:45:50 +00:00
ian.mcgreer%sun.com
88f990cef8 bug 136701, certutil should use PK11_ListCerts
git-svn-id: svn://10.0.0.236/trunk@122266 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-29 18:19:33 +00:00
kirk.erickson%sun.com
12c97ff0d7 Fixed OCSP typo.
git-svn-id: svn://10.0.0.236/trunk@122222 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 18:26:37 +00:00