rss feed Twitter Page Facebook Page Github Page Stack Over Flow Page

Get SSL running on Apache in CentOS

I was playing with a new virtual server that had CentOS installed on it recently, and wanted to get SSL working for Apache. Since I was only setting up a development server I really didn't need to purchase a certificate and decided to use a self-signed certificate. Here is what I did:

First I needed to get 'make' and 'mod_ssl' running to allow for this. (I use sudo, but you could log-in as su)

sudo yum install make
sudo yum install mod_ssl

Next I did the following steps:

There, now you have a self-signed certificate for your apache virtualhosts.