 |
SSL Certificates Support
|
CSR Generation Instructions- Tomcat
To generate a CSR, you will need to create a key pair
for your server. These two items are a digital certificate key pair
and cannot be separated. If you lose your public/private key file or
your password and generate a new one, your SSL Certificate will no longer
match. You will have to request a new SSL Certificate and may be charged.
Step 1: Prepare the Keystore
- If you are running
a 1.3 JVM, download JSSE 1.0.2 (or later) from http://java.sun.com/products/jsse/
and either make it an installed extension on the system, or else set
an environment variable JSSE_HOME that points at the directory into
which you installed JSSE.
- Create a certificate
keystore by executing the following command:
Unix: $JAVA_HOME/bin/keytool
-genkey -alias tomcat -keyalg RSA
- Specify a password.
The default value will be "changeit".
If you need more information go to the Tomcat Web
site.
Step 2: Generate a CSR
- Create a local
Certificate. In some cases you will have to enter the domain of your
website (i.e. www.myside.org) in the field "first- and lastname"
in order to create a working Certificate.
keytool -genkey -alias
<your_alias_name> -keyalg RSA
-keystore <your_keystore_filename>
- The CSR is then
created with:
keytool -certreq -keyalg
RSA -alias <your_alias_name> -file certreq.csr
-keystore <your_keystore_filename>
- To copy and
paste the file certreq.csr into the enrolment form, open the file in
a text editor that does not add extra characters (Notepad or Vi are
recommended).
Terms Defined
Common Name
The Common Name
is the Host + Domain Name. It looks like "www.company.co.uk"
or "company.co.uk".
VeriSign certificates
can only be used on Web servers using the Common Name specified during
enrolment. For example, a certificate for the domain "domain.co.uk"
will receive a warning if accessing a site named "www.domain.co.uk"
or "secure.domain.co.uk", because "www.domain.co.uk"
and "secure.domain.co.uk" are different from "domain.co.uk".
Organisation Information
- If your company or department has an &, @, or any other symbol
using the shift key in its name, you must spell out the symbol or omit
it to enrol.
- The “Org Unit” field is the name of the department or organisation
unit making the request.
- The Locality field is the city or town name, for example: Guildford.
- Do not abbreviate the county name, for example: Surrey.
- Use the two-letter code without punctuation for country, for example:
GB.
Contact Information
During the verification
process, VeriSign may need to contact your organisation. Be sure to
provide an email address, phone number, and fax number that will be
checked and responded to quickly. These fields are not part of the certificate.
|