Hi Peter, Thanks for the prompt response. I'm trying to download NSS for Java (JSS), but the latest version at ftp://ftp.mozilla.org/pub/mozilla.org/security/jss/releases/JSS_3_7_RTM/
only has HP-UXB platform where I wanted linux since I'm running fedora to test this out. At the readme file it said The source tree for this release can be checked out using this command: cvs co -r <CVS tag> mozilla/security/coreconf mozilla/security/jss where <CVS tag> is a CVS tag defined below. For most platforms CVS tag: JSS_3_7_RTM I need to know the CVS root to check this out or how do I obtain this NSS for Java running on linux? I also noticed the NSS release download page for windows only has windows95 & windowsNT supported where I need one for windows32 or xp. Thanks! On 28 Mar 2007 06:53:31 -0700, Peter Djalaliev <[EMAIL PROTECTED]> wrote: > Jana, > > pk12util is part of the utilities that ship with a NSS release. You > can find the NSS Release Directory here: > ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ > You have a choice between downloading source code or pre-compiled > binaries. > > If you download the source code, you can find build instructions here: > http://developer.mozilla.org/en/docs/NSS_reference:Building_and_installing_NSS > > After you get pk12util, you need to use it with your Mozilla > certificate database. I don't know where that would be in Windows, > but in Linux it is usually in $(HOME)/.mozilla/firefox/<profile-name> > > where I believe <profile-name> is randomly chosen. > > Documentation on how to use pk12util is available here: > http://www.mozilla.org/projects/security/pki/nss/tools/pk12util.html > > > Now, there might be a better way for you to do this from within your > Java program. NSS provides API to export PKCS#12 files, I believe. > For reference, you can refer to: > > the list of public functions in the PKCS#12 API: > http://www.mozilla.org/projects/security/pki/nss/ref/nssfunctions.html#pkcs12 > > pk12util's source code: > http://lxr.mozilla.org/mozilla/source/security/nss/cmd/pk12util/ > > There is a project, called NSS for Java (JSS), which presents a Java > API of NSS functionality. I am personally not familiar with it, so > maybe other people can help here more. > You can find the JSS project page at: > http://www.mozilla.org/projects/security/pki/jss/ > > You can look into that and see if you can access the Mozilla cert > database from your own Java code and export a PKCS#12 file if you > still need to do so. > > I hope this helps. > > Regards, > Peter > > _______________________________________________ > dev-tech-crypto mailing list > dev-tech-crypto@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-tech-crypto > _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto