Account | Help |
Contact | Services | Whois | DIG |

Generate a CSR for Jakarta-Tomcat

Follow these instructions to generate a CSR for your web site.

If you are not using JDK 1.4 or higher, you must download and install "Java Secure Socket Extensions" JSSE.

  1. Generate a private key with the following command:
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/domainname.kdb
  2. You will be prompted for a password. Tomcat uses a default password of "changeit". If you use a different password, you will need to specify a custom password in the server.xml configuration file.
  3. The next field that you will be prompted for is "What is your first and last name?". This is your common name. At this prompt, you must specify the common name (FQDN) of your web site.
  4. You will then be prompted for your organizational unit, organization, etc. You can find more information on the CSR fields here.
  5. Generate the CSR:
    $JAVA_HOME/bin/keytool -certreq -alias tomcat -keystore /path/to/keystore.kdb -file filename.csr
    You will not be prompted for the common name, organization, etc. The keytool will use the values that you specify when generating the private key.
  6. Copy the CSR and use it to buy your certificate online.

Check your certificate signing request online.
Back to help on the certification process.
Buy your certificate online.


© SpaceReg 1998-2023