Back to top

SSL setup for CMS on Fedora/CentOS/RHEL

NOTE : Instructions tested on CentOS/RHEL 5.4

To use SSL for CMS, we need to setup stunnel.

  • Login as root user.
  • Install stunnel
 yum install stunnel  

  • Generate a certificate
cd /etc/stunnel
(umask 077; \
 /usr/bin/openssl req -new -x509 -days 365 -nodes \
   -config /etc/stunnel/stunnel.cnf \
   -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem)

  • Download configuration file.
 cd /etc/stunnel
 wget --no-cache -O stunnel.conf

  • By default the SSL port is set to 8082, feel free to change it by changing stunnel.conf
 accept = 8082
 connect = 8081
  • start the stunnel
 stunnel /etc/stunnel/stunnel.conf
  • Point the browser to the login page.
 NOTE This assumes that ConVirt is already started using  ./convirt-ctl start 
  • Troubleshooting
 In case you run in to issue, take a look at the following.

Back to the Installation page

To go back, click here .