Knowledgebase

How to Generate a CSR for Tomcat

The following instructions will guide you through the CSR generation process on Tomcat. To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Requestarticle. If you already generated the CSR and received your trusted SSL certificate, reference our SSL Installation Instructions and disregard the steps below.

1. Navigate to the Directory

The Directory is where you will manage the certificate.

2. Enter key generation command

Generate a keystore and private key by running the following command:

keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore your_domain_name.jks

Note: Replace “your_domain_name” with the primary domain you will be securing with the certificate.

3. Create the keystore

Enter a keystore password.

Enter your Organization Information.

Note: When prompted to enter your First and Last Name, input your “domain name” instead of your personal name.

Enter y or yes when prompted only if all information is correct.

Enter your keystore password and press Enter.

Your keystore has been created in the current directory.

4. Run the CSR command

From the newly created keystore, generate your CSR by running the following keytool command:

keytool -certreq -alias server -file csr.txt -keystore your_domain_name.jks

Enter your keystore password and press Enter.

Your CSR has been created in the current directory.

5. Generate the order

Locate and open the newly created CSR in a text editor such as Notepad and copy all the text including:

-----BEGIN CERTIFICATE REQUEST-----
And
-----END CERTIFICATE REQUEST-----

Return to the Generation Form on our website and paste the entire CSR into the blank text box and continue with completing the generation process.

Upon generating your CSR, your order will enter the validation process with the issuing Certificate Authority (CA) and require the certificate requester to complete some form of validation depending on the certificate purchased. For information regarding the different levels of the validation process and how to satisfy the industry requirements, reference our validation articles.

After you complete the validation process and receive the trusted SSL Certificate from the issuing Certificate Authority (CA), proceed with the next step using our SSL Installation Instructions for Tomcat.

  • 0 Users Found This Useful
     Was this answer helpful?

Related Articles

 How to Generate a CSR for Microsoft IIS 5 & 6

The following instructions will guide you through the CSR generation process on Microsoft IIS 5 & 6. To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Request article. If you already...

 How to Generate a CSR for AWS Services

To learn more about CSRs and the importance of your private key, reference our Certificate Signing Request (CSR) Overview article. If you already generated the CSR and received your trusted SSL certificate and need help with installation,...

 How to Generate a CSR on Juniper NetScreen

The following instructions will guide you through the CSR generation process on Juniper NetScreen. To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Request article. 1. Open the...

 How to Generate a CSR on Citrix Access Gateway 5.0

The following instructions will guide you through the CSR generation process on Citrix Access Gateway. To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Request article. If you already...

 How to Generate a CSR for Nginx (OpenSSL)

The following instructions will guide you through the CSR generation process on Nginx (OpenSSL). To learn more about CSRs and the importance of your private key, reference our Overview of Certificate Signing Request article. If you already...

Powered by WHMCompleteSolution