Generate SSL

Steps to add a https page

1) openssl genrsa -out www.winlinuxsysadmin.info.key 1024 - generate private key

2) openssl req -new -key www.winlinuxsysadmin.info.key -out www.winlinuxsysadmin.info.csr -generate csr

3) openssl x509 -req -days 365 -in www.winlinuxsysadmin.info.csr -signkey www.winlinuxsysadmin.info.key -out www.winlinuxsysadmin.info.crt -generate self signed ssl

4) make sure mod_ssl is installed

5) to httpd.conf add

Listen 443

NameVirtualHost *:443
ErrorLog /var/log/https_error.log
CustomLog /var/log/https_access.log combined
SSLCertificateFile /abc/ssl/www.winlinuxsysadmin.info.crt
SSLCertificateKeyFile /abc/ssl/www.winlinuxsysadmin.info.key
VirtualHost>

6) https://winlinuxsysadmin.info/ should show as a secure page