Page 1 of 1

(solved) Scalix 11: can't access secure /webmail or /sac

Posted: Fri Apr 06, 2007 4:15 am
by voice_of_buddha
Hi,

I installed Scalix 11 rpm on a fresh Centos 4.4. After installing Scalix I recognized that mod_ssl hasn't been installed, yet. So I did this. But I have trouble to get Scalix work now with HTTPS.

Now these are accessible
http://mysite.org/
https://mysite.org/
http://mysite.org/webmail
but not
https://mysite.org/webmail
or
https://mysite.org/sac
I get an error message saying "404 Not found" ,"The requested URL /webmail/ was not found on this server". The same is listet in /var/log/http/ssl_error_log.

Anyone any idea?

Posted: Sat Apr 07, 2007 8:56 am
by les
You'll need to check the following files, and probably add virtual host definitions for https also.

/etc/opt/scalix-tomcat/connector/jk/instance-<yourhostname>.conf
and
/etc/opt/scalix-tomcat/connector/ajp/instance-<yourhostname>.conf

replace <yourhostname> with the hostname of your server.

Something like this needs to be added.....

<VirtualHost *:443>
SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
Include /etc/opt/scalix-tomcat/connector/ajp/app-mail.*.conf
</VirtualHost>

Note too that you will need to disable the standard virtual host container in /etc/httpd/conf.d/ssl.conf because apache will see both definitions and use the first, which will be the ssl.conf.

Posted: Wed Apr 18, 2007 2:01 pm
by voice_of_buddha
Sorry for the late reply. Thanks, les, tis helped me out. It works fine.