This setting is to configure Zenoss to be accessed by SSL (https).
This setting is done on top of Ubuntu 8.0.4.2 x86_64 , Zenoss 64 bit
$ su -
$ apt-get install openssl stunnel
$ cd /etc/stunnel
$ openssl req -new -x509 -days 3650 -nodes -out stunnel.pem -keyout stunnel.pem
$ chmod 600 ./stunnel.pem
$ nano /etc/stunnel/stunnel.conf
add/edit the file:
cert = /etc/stunnel/stunnel.pem
[https]
accept = 443
connect = 8080
TIMEOUTclose = 0
then, save n close,next
$ nano /etc/default/stunnel4
change to:
ENABLED=1
save n close,
$ /etc/init.d/stunnel4 restart
$ su zenoss
$ cd /usr/local/zenoss/zenoss/etc
$ nano ./zope.conf
edit in the config file:
<cgi-environment>HTTPS ON</cgi-environment>
Save n close. Next restart zope:
$ zopectl restart
done, open browser n go to https://yourzenossIP
p/s: sudo /etc/init.d/stunnel14 restart —– if browser doesnt respond
salawank is Digg proof thanks to caching by WP Super Cache