O'Reilly logo

LDAP Programming with Java™ by Tony Dahbura, Rob Weltman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating a Test Certificate

To generate a test certificate, do the following:

  1. Exit from Netscape Navigator if it is running.

  2. Make a backup copy of the key3.db and cert7.db files, which are located in your Netscape user's directory (the Program Files\Netscape\Users\<username> directory in Windows and the ~/.netscape directory in UNIX).

  3. Set up a password for the key and certificate databases, if you have not already done so. When you run signtool, you will be prompted to enter this password. To set up a password, choose the Communicator/Tools/Security Info menu item, and click the Passwords link on the left. Follow the directions in this dialog box to set your password.

  4. Run the signtool command with the -G <name of certificate> and -d <location ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required