Installation of the Application Server generates a digital certificate in NSS (Network Security Services) format suitable for internal testing. By default, the Application Server stores its certificate information in a certificate database in the domain-dir/config directory:
Keystore file,key3.db, contains the Application Server’s certificate, including its private key. The keystore file is protected with a password. Change the password using the asadmin change-master-password command. For more information about certutil, read Using the certutil Utility.
Each keystore entry has a unique alias. After installation, the Application Server keystore has a single entry with alias s1as.
Truststore file,cert8.db, contains the Application Server’s trusted certificates, including public keys for other entities. For a trusted certificate, the server has confirmed that the public key in the certificate belongs to the certificate’s owner. Trusted certificates generally include those of certification authorities (CAs).
In the Platform Edition, on the server side, the Application Server uses the JSSE format, which uses keytool to manage certificates and key stores. In the Enterprise Edition, on the server side, the Application Server uses NSS, which uses certutil to manage the NSS database which stores private keys and certificates. In both editions, the client side (appclient or stand-alone), uses the JSSE format.
By default, the Application Server is configured with a keystore and truststore that will work with the example applications and for development purposes. For production purposes, you may wish to change the certificate alias, add other certificates to the truststore, or change the name and/or location of the keystore and truststore files.
The keystore and truststore files provided for development are stored in the domain-dir/config directory.
In the Admin Console tree, expand Configurations.
Expand the server-config (Admin Config) node.
Select the JVM Settings node.
Click the JVM Options tab.
On the JVM Options page, add or modify the following values in the Value field to reflect the new location of the certificate files:
where NSS-database-directory is the location of the NSS database.
Restart the Application Server if Restart Required displays in the console.