Professional Documents
Culture Documents
@ Initial step
<APACHE_HOME>/bin>openssl version
1
Configuring Apache HTTP Server 2.2.3 for Secure Socket Layer
[openssl]
200
9
2. Create a certificate signing request; this is what you
submit to a CA
if you are buying a certificate.
3. Purchase a certificate from a CA or create a self signed
certificate.
4. Remove the passphrase from the private key.
5. Install the key and certificate to the server.
RANDFILE = ./random.txt
[req]
default_bits = 1024
default_keyfile = keyfile.pem
attributes = req_attributes
distinguished_name = MCA
prompt = no
output_password = mypassword
[MCA]
C = IN
ST = AP
L = HYD
O = MCA
OU = MCA 1
CN = 127.0.0.1
emailAddress = mail@myserver.com
2
Configuring Apache HTTP Server 2.2.3 for Secure Socket Layer
[openssl]
200
9
[req_attributes]
challengePassword = mypassword
3
Configuring Apache HTTP Server 2.2.3 for Secure Socket Layer
[openssl]
200
9
..............++++++
.................++++++
writing new private key to ‘keyfile.pem’
-----
4
Configuring Apache HTTP Server 2.2.3 for Secure Socket Layer
[openssl]
200
9
need to customize the configuration.
LoadModule ssl_module
modules/mod_ssl.so
Then, find and uncomment the following line, to
include the
mod_ssl configuration file:
Include conf/extra/httpd-ssl.conf
5
Configuring Apache HTTP Server 2.2.3 for Secure Socket Layer
[openssl]
200
9