Follow the jump to find out how you can quickly and easily setup your own SSL certificate and install it into Apache on CentOS/RHEL.
First, we need to install the crypto-utils package, which gives us the super-handy genkey command. We'll also pull in mod_ssl at the same time:
yum install crypto-utils mod_ssl
With that out of the way, let's run genkey for our sample domain, www.mydomain.com: