Wednesday, January 15, 2014
How to Create Certificates Using Keytool
1. Open the DOS prompt on your computer by selecting the 'Start' menu and typing 'command' in the search text field.
2. Type the following command at the DOS prompt followed by the 'Enter' key to generate a new 'Keystore.' List the name of your website in place of the 'yourwebsite' word in the example command.
keytool -genkey -alias server -keyalg RSA -keystore yourwebsite.jks
3. Input specific information for your domain when queried by the keytool menu. Input a password for the keystore when prompted after entering the required data for the website and select the 'Enter' key to continue.
4. Generate the Certificate by entering the following command at the DOS prompt followed by the 'Enter' key.
keytool -certreq -alias server -keyalg RSA -file yourdomain.csr -keystore yourdomain.jks
5. Enter the keystore password when prompted by the Java keytool and the digital certificate will be generated.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment