Sunday, July 4, 2021
Apache Tomcat CSR generation steps
Hello Everyone, Welcome to another blog where i'll walk you through step by step CSR generation on Apache Tomcat server. So lets start without any further due.
Apache Tomcat CSR generation steps
CSR GENERATION STEPS:-
Step A -- Create a new Keystore
1. You will be using the keytool command to create your new key-CSR pairing. Enter the following:
keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore yourdomain.jks
'Yourdomain' is the name of the domain you are securing. However, if you are ordering a Wildcard Certificate, do not include * in the beginning of the filename as this is not a valid filename character.
2. You will be prompted for the DN information. Please note: when it asks for first and last name, this is not YOUR first and last name, but rather your domain name and extension(i.e., www.yourdomain.com). If you are ordering a Wildcard Certificate this must begin with *. (example: *.domain.com)
3. Confirm that the information is correct by entering 'y' or 'yes' when prompted. Next you will be asked for your password to confirm. Make sure to remember the password you choose.
Step B -- Generate your CSR with your new keystore
1. Next, use keytool to actually create the Certificate Signing Request. Enter the following:
keytool -certreq -alias server -keyalg RSA -file yourdomain.csr -keystore yourdomain.jks
Again, 'yourdomain' is the name of the domain you are securing. (without the * character if you are ordering a Wildcard Certificate).
2. Enter the keystore password.
3. Then the SSL Certificate CSR file is created. Open the CSR with a text editor, and copy and paste the text (including the BEGIN and END tags) into the Certificate Authority web order form.
Hope you have generated CSR without any issue, Now follow the next step for ssl installation
Also read : Apache Tomcat ssl installation steps
No comments :
Post a Comment