December 2012
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories

December 2012
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

OpenSSL Commands

General OpenSSL Commands

These commands allow you to generate CSRs, Certificates, Private Keys and do other miscellaneous tasks.

Generate a new private key and Certificate Signing Request

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key

Generate a self-signed certificate (see How to Create and Install an Apache Self Signed Certificate […]

Enable SSL in Tomcat

Step 1 Windows[goto Command] %JAVA_HOME%\bin\keytool -genkey

Enter all the details which keytool is going to prompt. (rememeber the password)

once you done, please go to your [USER_HOME](document & settings), locate the .keystore.

Copy this file and paste in tomcat root folder.

Step 2 Open [tomcat_home]/conf/server.xml

uncomment the SSL config entry. And configure the SSL certificate […]