Getting "Certutil: Could Not Add Certificate to Token or Database: Error Adding Certificate to Database" Error When Adding Certificate to Oracle iPlanet Web Server Security Database (Doc ID 1368693.1)

Last updated on APRIL 03, 2017

Applies to:

Oracle iPlanet Web Server - Version 6.1 to 6.1.1 [Release 6.1 to 6.0]
Information in this document applies to any platform.

Symptoms

When adding a certificate to the Network Security Services (NSS) database of Oracle iPlanet Web Server, the following error occurs:

# certutil -S -s "CN=test,OU=Support,O=Oracle,L=Boston,ST=Massachusetts,C=US" -n Server-Cert -x -t "u,u,u" -d /alias -g 2048 -P https-test-test-

Enter Password or Pin for "NSS Certificate DB":

A random seed must be generated that will be used in the
creation of your key. One of the easiest ways to create a
random seed is to use the timing of keystrokes on a keyboard.

To begin, type keys on the keyboard until this progress meter
is full. DO NOT USE THE AUTOREPEAT FUNCTION ON YOUR KEYBOARD!


Continue typing until the progress meter is full:

|************************************************************|

Finished. Press enter to continue:


Generating key. This may take a few moments...

certutil: could not add certificate to token or database: Error adding certificate to database.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms