NSS Shared DB Samples: Difference between revisions

link to NSS_Shared_DB_Howto
(link to NSS_Shared_DB_Howto)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Intro =
= Intro =
'''Update: The new page [[NSS_Shared_DB_Howto]] gives updated instructions on getting started based on NSS version 3.12.
'''Update. NSS 3.12 beta is currently in firefox 3, and also in fedora rawhide.
On these systems or using these applications, the instalation steps indicated below can be skipped.'''


This page contains links and instructions for early NSS 3.12 releases to test the major new features of NSS, namely Shared Database and libPKIX. These are developement release of pre-alpha code, some of which are coming from expiremental upstream branches. Bugs should be files against NSS 3.12 in http://bugzilla.mozilla.org and assigned to rrelyea@redhat.com. Please reference the build number you are using, and the fact that you are using a private build supplied by me (or one you created).
This page contains links and instructions for early NSS 3.12 releases to test the major new features of NSS, namely Shared Database and libPKIX. These are developement release of pre-alpha code, some of which are coming from expiremental upstream branches. Bugs should be files against NSS 3.12 in http://bugzilla.mozilla.org and assigned to rrelyea@redhat.com. Please reference the build number you are using, and the fact that you are using a private build supplied by me (or one you created).
Line 42: Line 47:
If you are using Windows:
If you are using Windows:


# replace your applications' copyies of Xxxx with the ones from the .zip file.
# replace your applications' copyies of:
#* freebl3.dll
#* nss3.dll
#* nssckbi.dll
#* sime3.dll
#* softokn3.dll
#* ssl3.dll
#**with the ones from the .zip file.
# copy lgdbm3.dll from the .zip file into your application's directory.


If you built yourself on another platform.
If you built yourself on another platform.


# replace your applications' copies of xxxx with the ones you build.
# replace your applications' copyies of:
#* libfreebl3.so
#* libnss3.so
#* libnssckbi.so
#* libsime3.so
#* libsoftokn3.so
#* libssl3.so
#**with the ones from your build.
# copy liblgdbm3.so from your build into your application's directory.


==Using existing databases==
==Using existing databases==
Line 73: Line 94:
#: NOTE: if your home directory is in NFS, you may want to choose another directory on your local drive.
#: NOTE: if your home directory is in NFS, you may want to choose another directory on your local drive.
# Make sure you complete steps 2-4 (above) to update your database format.  
# Make sure you complete steps 2-4 (above) to update your database format.  
# CD into the profile directory of your applications which already has most of the certs and keys you will need (If you use encrypted email, I would suggest thunderbird, since it has largest sets of certs you will need. Otherwise the browser is a good choice).
# CD into the profile directory of your applications which already has most of the certs and keys you will need (If you use encrypted email, I would suggest thunderbird, since it has largest sets of certs you will need. Otherwise the browser is a good choice).  
#*'''NOTE: you will loose stored passwords in the application you didn't choose, so you may choose the browser anyway.'''
#* Profiles for thunderbird live in ~/.thunderbird/{magic-cookie-string}
#* Profiles for thunderbird live in ~/.thunderbird/{magic-cookie-string}
#* Profiles for firefox live in ~/.mozilla/firefox/{magic-cookie-string}
#* Profiles for firefox live in ~/.mozilla/firefox/{magic-cookie-string}
Line 89: Line 111:
= Known issues =
= Known issues =
# Shared DB against a network file system (such as NFS) is extremely slow.  It can take '''2 minutes''' to read in the DB.
# Shared DB against a network file system (such as NFS) is extremely slow.  It can take '''2 minutes''' to read in the DB.
(this should be fixed, Network file systems are still slower, but be in the seconds range, not the minutes range).


= Problems =
= Problems =
Confirmed users
563

edits