How to create self signed certificate for Tomcat
Steps to create a self-signed certificate for Tomcat
Step – 1. The first step is to create a directory to store a certificate.
Step – 2. Open a command window (dos prompt) and CD to that directory
Step – 3. Type following comment to proceed
Step – 4. You will be asked a series of questions including password. Put a strong password and remind it for further process.
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: VR Weinstein
What is the name of your organizational unit?
What is the name of your organization?
What is the name of your City or Locality?
What is the name of your State or Province?
What is the two-letter country code for this unit?
Is CN=VR Weinstein, OU=DataSolutions, O=DataSolutions, L=Largo, ST=Florida
, C=US correct?
Enter key password for <tomcat>
RETURN if same as
Step – 5. You will be shown all of your entries and Hit enter to confirm.
You will be asked for your password again with the option to just hit enter. The