Install the below:
mod_ssl-2.2.4-4
distcache-1.4.5-14.1
httpd-2.2.4-4
openssl-0.9.8b-12.fc7
cd /etc/pki/tls/certs
review make-dummy-cert and make copy say my_make_cert and modify the content of the copy
i.e. highlighted in red below:
#!/bin/sh
umask 077
answers() {
echo --
echo SomeState
echo SomeCity
echo SomeOrganization
echo SomeOrganizationalUnit
echo localhost.localdomain
echo root@localhost.localdomain
}
issue the below
./my_make_cert test
split the file test in between the lines into two parts:
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
The upper part save as file /etc/pki/tls/private/localhost.key
The bottom part save as file /etc/pki/tls/certs/localhost.crt
This matches with the default /etc/httpd/conf.d/ssl.conf that come with the mod_ssl rpm package
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment