N1 Service Provisioning System 4.1 Installation Guide

ProcedureHow to Generate SSL Certificates for Tomcat

Steps
  1. Change to the directory in which you installed the JRE.


    % cd JAVA-HOME/bin
    

    JAVA-HOME is the directory where you installed the JRE. If you installed the JRE with the N1 Service Provisioning System 4.1, the JRE is installed in the N1SPS4.1-home/common/JRE/bin directory.

  2. Generate the certificate.


    % keytool -genkey -alias tomcat -keyalg RSA -keystore /keystore-location
    -storepass password
    

    Set /keystore-location to the location where you want to store the generated keys. /etc/keystore is commonly used.

    Set password to whatever password you choose.

  3. Follow the prompts to complete.