Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

deletecert function in JSS

0 views
Skip to first unread message

DB

unread,
Apr 4, 2006, 11:12:36 PM4/4/06
to
When I try to use the deletecert method of the cryptostore in jss version
3.4.1 with nsslib version 3.9.2 it won't delete a cert where I don't have
the private key. Any suggestions on how to fix this without upgrading?

Sandeep Konchady

unread,
Apr 6, 2006, 1:32:26 PM4/6/06
to nos...@verizon.net
Hello,

Could you please post the code that you are using to delete cert.
Also is there any particular reason for not wanting to upgrade. The
latest in the JSS 3.x is 3.11.1. This has a few critical fixes which
you may want to consider.

Thanks,
Sandeep

Glen Beasley

unread,
Apr 6, 2006, 3:12:39 PM4/6/06
to sandeep...@gmail.com, nos...@verizon.net

the existing
http://lxr.mozilla.org/security/ident?i=Java_org_mozilla_jss_pkcs11_PK11Store_deleteCert

this method deletes the specified certificate and its associated private
key. It will fail if there is no associated key.

Thomas recently added

http://lxr.mozilla.org/security/ident?i=Java_org_mozilla_jss_pkcs11_PK11Store_deleteCertOnly

which will delete the cert only.

We have yet to RTM JSS 4.2.3 and do not have an official build yet. You
will have to upgrade regardless, if you want you can checkout the latest
source and build the code or we could send you a private.

-glen

0 new messages