C2 fedora ssl setup

From ConVirt

Jump to: navigation, search


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
wget http://www.convirture.com/downloads/stunnel/RHEL/stunnel.cnf 
(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 http://www.convirture.com/downloads/stunnel/RHEL/stunnel.conf -O stunnel.conf


  • By default the SSL port is set to 8082, feel free to change it by changing stunnel.conf
 [convirt]
 accept = 8082
 connect = 8081
  • start the stunnel
 stunnel /etc/stunnel/stunnel.conf
  • Point the browser to the login page.
 https://machine-name:8082/login
 NOTE This assumes that ConVirt is already started using  ./convirt-ctl start 

Back to the Installation page

To go back, click here .

Personal tools