CSR for Tomcat

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:
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.

Leave a Reply

Your email address will not be published. Required fields are marked *


Certificate Key Matcher

You can check with the SHA Checksum whether a certificate matches a private key, or a CSR matches a certificate on your own computer by using the OpenSSL commands below: openssl pkey -in privateKey.key -pubout -outform pem | sha256sum openssl x509 -in certificate.crt -pubkey -noout -outform pem | sha256sum openssl req -in CSR.csr -pubkey -noout […]

Why not Padlock? Padlock not showing green color

Installing an SSL certificate and configuring a website for HTTPS is an extremely challenging task. That’s because you’re not just configuring the server for encrypted connections, you’re essentially redirecting every single page and asset to HTTPS. For larger sites with massive infrastructures this can be a nightmare-heck, it can be a nightmare for even small […]