This is recorded from CentOS4, httpd-2.0.63
To start, we make sure we have httpd and mod_ssl installed:
# yum install httpd mod_ssl
# cd /etc/httpd/conf
# vi openssl.conf
After we enter your copy of openssl.conf, we'll modify the Makefile - in the section for the target "$(CRT):", append two lines:
cp $(KEY) $(KEY).orig
openssl rsa -in $(KEY) -out $(KEY)
Now we can create the CSR: