Java Keytool CSR WizardThe fastest way to create your CSR for Tomcat (or any platform using Keytool)
Fill in the details, click Generate, then paste your customized Keytool CSR command into your terminal.
Common Name (Server Name)
The fully qualified domain name that clients will use to reach your server.
To secure https://www.example.com, your common name must be www.example.com or *.example.com for a wildcard certificate.
Less commonly, you may also enter the IP address or short name of your internal server. For example, appserver1 or 192.168.1.200.
Many people leave this field blank. This is the department within your organization which you want to appear in the certificate. It will be listed in the certificate's subject as Organizational Unit, or "ou."
The city where your organization is legally located.
State or Province
The state or province where your organization is legally located.
Your IP appears to be in the USA, so we've provided a States dropdown list for your convenience. But if you're creating a CSR for a location outside of the USA, you can enter anything into the list. It will accept any state name you type.
We guessed your country based on your IP address, but if we guessed wrong, please choose the correct country. If your country does not appear in this list, there is a chance we cannot issue certificates to organizations in your country.
The exact legal name of your organization. Example: "DigiCert, Inc."
Less commonly, if you do not have a legal registered organization name, you should enter your own full name here.
Key sizes smaller than 2048 are considered insecure.
Now just copy and paste this command into a terminal session on your server. Your CSR will be written to ###FILE###.csr.
You can run this command wherever you have the keytool command available—most likely on your server, but you can also run it on your own computer if you have Java installed. Just make sure you keep track of your keystore file after you create your CSR, because you'll need that file because it will contain your private key, and it will be required to install your certificate.The keytool program has to exist in your PATH. You can find out if it is by typing 'keytool' into your terminal session and seeing if you get a 'command not found' error. If keytool is not in your PATH environment variable, you can either add your JDK's bin directory to the PATH, or adjust the two keytool commands in the customized CSR command you generated above. What happens when I run this command?
You will be asked to choose a keystore password to protect your new keystore file. Then press RETURN to use the same password for the certificate's private key. Then you will be asked to type the keystore password once more to create the CSR file.
The Java keytool utility creates both your private key and your certificate signing request, and saves them to two files: your_common_name.jks, and your_common_name.csr. You can then copy the contents of the CSR file and paste it into the CSR text box in our order form.What kind of certificate should I buy?
A DigiCert Wildcard can protect all server names on your domain (such as *.example.com). Our unlimited server license lets you protect all your servers for just one price. Many of our customers save thousands of dollars per year by using a DigiCert Wildcard.
|Per Year Pricing|
|3 Years||$475 per year||($1,425)||(You Save 20%)||Buy Now|
|2 Years||$535 per year||($1,070)||(You Save 10%)||Buy Now|
|1 Year||$595||Buy Now|
Single certificates are able to protect one server name, such as mail.example.com. If you only need SSL for one hostname, a single certificate will work perfectly.
|Per Year Pricing|
|3 Years||$139 per year||($419)||(You Save 20%)||Buy Now|
|2 Years||$157 per year||($315)||(You Save 10%)||Buy Now|
|1 Year||$175||Buy Now|
What if I need Subject Alternative Names?
Use your primary server name as the Common Name for your CSR, then place an order for a Unified Communications certificate and specify the other names during the order process. Our UC certificate ordering process will let you specify all the names you need without making you include them in the CSR.