Creating a directory for the nss database

A directory must be created for use with the nss database. Later, the required certificates will be stored in this directory.

  1. Create the directory:
    mkdir /etc/httpd/nss
  2. Initialize the new database using the option -N (New) option. In this scenario, the new database password used for initializing the database is 19283746.
    
    # certutil -N -d /etc/httpd/nss
    Enter a password which will be used to encrypt your keys.
    The password should be at least 8 characters long,
    and should contain at least one non-alphabetic character. 
    
    Enter new password: 19283746
    Re-enter password: 19283746