SSL Certificates CSR Creation :: Java Keytool

SSL Certificate Support
 

SSL Certificate CSR Creation for Java Based Web Servers.

How to generate a CSR using Java Keytool

**NOTE: You must generate a new keystore through this process. If you try to install a new certificate to an old keystore your certificate will not work properly. Backup and remove any old keystores if necessary before beginning this process.

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 -keystore yourdomain.key

'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: *.digicert.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

4) Next, use keytool to actually create the Certificate Signing Request. Enter the following:

keytool -certreq -alias server -keyalg RSA -file yourdomain.csr -keystore yourdomain.key

Again, 'yourdomain' is the name of the domain you are securing. (without the * charachter if you are ordering a Wildcard Certificate).

5) Enter the keystore password.

6) 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 DigiCert web order form.

 

Generating a CSR for Issuance of an SSL Certificate with Keytool

How to generate a Certificate Signing Request for your Java Web Server


Purchase an SSL Wildcard Certificate Now!

 

SSL Support Home
CSR Creation
Apache (OpenSSL)
BEA Weblogic
Cobalt RaQ3x/4x/XTR Courier IMAP Cpanel (WHM)
C2Net Stronghold
Ensim Control Panel
F5 BIG-IP
F5 FirePass
Hsphere Web Server
IBM HTTP Server
iPlanet
Java (Generic) Web Servers
Java (Tomcat) Web Servers
Lotus Domino Go 4.6.2.6+
Lotus Domino 4.6x & 5.0x
Microsoft Exchange Server 2007
Microsoft IIS 4.x
Microsoft IIS 5.x/6.x
Microsoft Office Comm. Server
Microsoft Outlook Web Access
Netscape-Sun iPlanet
NetScreen
Novell ConsoleOne
Novell I-Chain
Plesk Server
Qmail
SurgeMail
Website Pro
WebSTAR
Zeus Webserver
SSL Certificate Installation
Wildcard SSL Installation
Renewals Explained
Validation Doc Requirements
PKI Tutorial
DigiCert® SSL Certificates
SSL Certificate Guarantee

DigiCert™ CSR Support

One-on-One Support

If you have purchased a security certificate, but need one-on-one help on how to create a CSR for your web server ssl certificate, contact our Support Team: 1-801-805-1620

 
 

Email DigiCert . Secure Sockets Layer . PKI Public Key Infrastructure . Digital Certificate . Authentication & Encryption . Secure Server Security