Previous Topic: Add the Root Certificate Authority to the Certificate Database

Next Topic: List the Certificates in the Certificate Database

Add the Server Certificate to the Certificate Database

You add the server certificate to the certificate database to make it available for communication over SSL.

Note: The following procedure details the specific options and arguments to complete the task. For a complete list of the NSS utility options and arguments, refer to the Mozilla documentation on the NSS project page.

Important! If you are running a SiteMinder utility or executable on Windows Server 2008, be sure to open the command–line window with Administrator permissions, even if you are logged into the system as an Administrator. For more information, see the release notes for your SiteMinder component.

To add the server certificate to the certificate database

  1. From a command prompt, navigate to the bin directory in the location to which you extracted the NSS utility.

    Example: C:\nss\bin

    Note: Windows has a native certutil utility. Ensure you are working from the bin directory of the NSS utility or you may inadvertently run the Windows certutil utility.

  2. Run the following command to add the root certificate to the database file:
    certutil -A -n alias -t trust_arguments -i server_certificate_path -d certificate_database_directory
    

    NSS adds the server certificate to the certificate database.

Example: Adding a Server Certificate to the Certificate Database

certutil -A -n "My Server Certificate" -t "P,," -i C:\certificates\servercert.cer -d C:\certdatabase


Copyright © 2010 CA. All rights reserved. Email CA about this topic