Create a Certificate Signing Request

This topic applies only to VoiceConsole On Prem deployment customers.

To create a certificate, you need to first create a certificate signing request.

  1. Copy and paste the following command into a terminal session on the machine where the Java keytool is located.
    The command assumes that the Java keytool is installed on your server.
    Replace the variables that appear in <angle brackets> with your own information.
    keytool -genkey -alias tomcat -keyalg RSA -keysize 2048 -keystore <keystorePath>/.keystore -dname "CN=<Domain name of server>, O=<Your Organization>, OU=<Organizational Unit>, L=<City>, ST=<State>, C=<Country>"
  2. If you are running this command on Windows, paste it into the command prompt, and ensure that the JDK bin folder is in your PATH environment.
  3. Press Enter.
  4. Enter a keystore password.
  5. Press Enter.
  6. Copy and paste the following command, replacing the variables in <angle brackets> with your information.
    keytool -certreq -alias tomcat -file <csrPath>/<csrFileName>.csr -keystore <keystorePath>/.keystore
  7. Verify keystore password.
  8. Press Enter, and complete the creation.

The Java keytool utility creates your private key and certificate signing request as <keystorePath>/ .keystore and <csrPath>/<csrFileName>.csr.