Calendar

February 2010
M T W T F S S
« Jan    
1234567
891011121314
15161718192021
22232425262728

BlogMalaysia.com

Https on Zenoss (zope) using stunnel

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

1 comment to Https on Zenoss (zope) using stunnel

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>