|
CSR Support |
|
|
Apache-MOD
SSL Creating
a Certificate Signing Request
cd
to /apacheserverroot/conf/ssl.key directory.(ssl.key is the
default
key directory.) If your have
different setting, cd to your server’s private
key directory
$openssl
genrsa -des3 -out server.key 1024
*Make
a copy of the private key file (server.key) generated in step 3 and store it
in a safe place!* The private key file should begin with -----BEGIN RSA
PRIVATE KEY----- and end in -----END RSA PRIVATE KEY-----. To view the
contents of the private key, use the following command: $
openssl rsa -noout -text -in server.key *Note: If you don´t want to use a PEM passphrase, leave out the "-des3" switch in step 3 and go directly to step 6.
Warning:
If you lose the passphrase, you must purchase another certificate.
$openssl
req -new -key server.key -out server.csr *
Note: You will be prompted for your PEM passphrase if you included the
"-des3" switch in step 3.
Enter
the information to be displayed in the certificate. The
following characters can not be accepted: < > ~ ! @ # $ % ^ * / \ ( )
?.,& |
|
Distinguished
Name Field |
Explanation |
Example |
|
Country
Name |
The
two-letter ISO abbreviation for your country |
US
= United States |
|
State
or Province Name |
The
state or province where your organization is located. Can not be
abbreviated. |
Georgia |
|
City
or Locality |
The
city where your organization is located. |
Atlanta |
|
Organization
Name |
The
exact legal name of your organization. Do not abbreviate |
IPS
S.L. |
|
Organizational
Unit |
Optional
for additional organization information |
Marketing |
|
Common
Name (Server Host Name) |
The
fully qualified domain name for your web server. You will get a
certificate name check warning if this is not an exact match. |
If
you intend to secure the URL https://secure.yourURL.com, then your
CSR's Server Hostname must be secure.yourURL.com |
|
Server
Admin.'s email address |
Your
email address |
abc@yourURL.com |
Warning:
Leave the challenge password blank (press <enter>) *
Note: If you would like to verify the contents of the CSR, use the following
command: $
openssl req -noout -text -in server.csr
|
|
CSR installation |
|
Installing a Server Certificate using MOD_SSL/OpenSSL
Step two: Install the Intermediate Certificates You will need to install the chain certificate (intermediate) in order for browsers to trust your certificate. As well as your SSL certificate ( yourdomainname.crt) two other certificates, named IPSSERVIDORES.crt and ipsCACLASEA1.crt , they are also attached to the email from ipsCA. Apache users will not require these certificates. Instead you can install the intermediate certificates using a 'bundle' method IPS-IPSCABUNDLE.crt. In the Virtual Host settings for your site, in the httpd.conf file, you will need to add the following SSL directives.This may be achieved by: 1. Copy IPS-IPSCABUNDLE.crt to the same directory as httpd.conf (this contains all of the ca certificates in the ipsCA chain). 2. Add the following line to httpd.conf (assuming /etc/httpd/conf is the directory mentioned in 1.), if the line already exists amend it to read the following:
If you are using a different location and certificate file names you will need to change the path and filename to reflect your server. The SSL section of the updated httpd config file should now read similar to this example (depending on your naming and directories used): Note: If your Apache web server version is 1.X you will have to apply this configuration
Save your httpd.conf file and restart. You can most likely do so by using the apachectl script: Stop your Apache web server and the restart it in SSL mode using the command 'apachectl startssl'. If you are prompted for a pass phrase enter the pass phrase you set when generating your private key |
|
|
|
© 1996 - 2007 ipsCA,
IPS
Certification Authority, S.L.
all Rights reserved.
Our CPS summarized or complete, CRLs, Root Certificates and legal documents can be found in our repository Read our Privacy Policy and Terms of Use |