May 11, 2009 1:19 AM
How to run Zenoss on Https.
-
Like (0)
Hi
This page is not present now, kindly give a fresh link.
Regards
Hey
Make sure you have all the needed apache modules like mod proxy and mod redirect
Create a vhost that has the following config
<VirtualHost *:443>
ServerName <hostname>:443
ServerAdmin <email>
SSLCertificateFile /etc/apache2/zenoss-ssl/server.crt
SSLCertificateKeyFile /etc/apache2/zenoss-ssl/server.key
CustomLog /var/log/apache2/zenoss-acces.log combined
ErrorLog /var/log/apache2/zenoss-error.log
RewriteEngine On
RewriteRule ^/(.*) http://<hostname>:8080/VirtualHostBase/https/<hostname>:443/VirtualHostRoot/$1 [L,P]
</VirtualHost>
Restart apache.
It's also usfull to change the zenactions module (this can be done via the GUI - Settings - Deamons - zenaction and change the zopurl to match the https address. If not the url in the mails will be incorrect.
Hi,
i use stunnel as provided below..
mirokoi boyd at tarrant-tech.com
For those like me who want to keep it simple.
Caveats:
Ubuntu 8.04
reference install of ZenOSS using the stack
keep your Apaches/Proxies/Compilers to yourself, kthx
Internet Exploder no likey use Firefox
Away we go...
sudo bash
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 -->
cert = /etc/stunnel/stunnel.pem
[https]
accept = 443
connect = 8080
TIMEOUTclose = 0
Save/Close
nano /etc/default/stunnel4 -->
ENABLED=1
Save/Close
/etc/init.d/stunnel4 restart
su zenoss
cd /usr/local/zenoss/zenoss/etc
nano ./zope.conf -->
<cgi-environment>
HTTPS ON
</cgi-environment>
Save/Close
zopectl restart
Go have a beer - your new and only ZenOSS URL is https://yourserver
p/s.. i would say this probably gonna work with other distros also...
Hi All,
Appreciate your help regarding zenoss https using apache2.
Below is apache2 configuration for https:
<VirtualHost *:443>
...
...
</VirtualHost>
FYI, I redirect all http request to https. Below is the configuration to redirect http to https:
<VirtualHost *:80>
...
...
RewriteEngine On
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^/?(.*)$ https://%{SERVER_NAME}/$1 [L,R]
</VirtualHost>
I access zenoss through https://{SERVER_NAME}/zport
Everything seem fine until I find out that Event Console does not show the list of event.
Need help on how to fix this? or any trick to make it work?
Information:
Zenoss 2.5.2 (using zenoss-stack_2.5.2_x64.deb installer)
Ubuntu 10.04.2
Thanks in advance.
Regards,
syafu
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||