2007-08-06 23:09:16

Create an SSL Cert (self signed) for Apache

genkey --makeca --days 3560 jamesconner.us
genkey --days 3560 jamesconner.us

vi /etc/httpd/conf.d/ssl.conf and change the following parameters:
SSLCertificateFile /etc/pki/tls/certs/{sitename}.cert
SSLCertificateKeyFile /etc/pki/tls/private/{sitename}.key

Restart the httpd service and SSL will be enabled.

Tags:   linux, web     |    Perm Link:   Create an SSL Cert (self signed) for Apache



James Conner