Creating a CA in OpenSSL
Joe Haynes of Terra Firma Software Solutions, Inc.
0.1 Why you need a Certificate of Authority
- Provides control over the certificate creation process
- Ability to create numerous certificates of a specific type and/or
size (2048 bit versus 1024)
- Much less expensive than creating certificates through an established
Certificate of Authority (i.e. VeriSign)
0.2 Creation Process
This process takes it for granted that you are running a Linux based
system and have already installed OpenSSL
- Login as root and change to the directory /etc/ssl/misc
- Issue the command: CA.sh -newca
- Just click the Enter key when it asks for a 'CA certificate filename'
(this will create a default of cakey.pem)
- Enter a password at the prompt: 'Enter PEM pass phrase:' (you
will need this later to unlock the key when signing certificates).
- Follow the questions and enter any locality information (examples:
'US' for United States, 'Montana' for Some-State, 'Helena' for city,
Terra Firma Solutions' for the company, 'IT' for Organizational Unit
Name, etc.)
- For the common name use something similar to 'ca.yourbusiness.com'
and for the Email Address use and adminitrative email account.
This will create a directory structure under /etc/ssl/misc
that contains both the CA certificate and the CA private key.
PDF version of this page
OpenSSL Main Page
File translated from
TEX
by
TTH,
version 3.66.
On 11 Jan 2005, 15:47.
by Joe Haynes of
Terra Firma Software Solutions, Inc.
Helena, MT
Produced in partnership with
Key Computer Consultants Incorporated - Application Developers in Helena Montana