Page 1 of 1

Installing SSL Cert Breaks Search and Mobile Login

Posted: Thu Jul 05, 2007 2:08 pm
by AaronM503
All,

I've been battling this scalix installation and I've narrowed my problems down to correctly installing my security certificate. Once I make the changes to use my cert, I break two notable things-- the search capabilities in SWA and logging in on the mobile web.

Once I take out the changes I've made installing the cert and run it on the generic https (and thus getting warning messages on web clients about trust worthiness) I can search in SWA and log into the mobile site.

Can anyone help give instructions on how to install my security cert? I've followed various scalix documents and then tomcat documents, many vary in complexity and commands and do not solve the issue.

I will admit I am very new to Tomcat, but can follow detailed instructions.

Thanks in advance,
Aaron

Posted: Thu Jul 05, 2007 6:50 pm
by dkelly
This was solved via a support call. The problem was down to a particular implementation of SSL rewrite rule.

The correct configuration to add the the /etc/opt/scalix-tomcat/connector/{jk|ajp}/instance-host.conf is:

Code: Select all

<VirtualHost *:80>
   RewriteEngine on
   RewriteCond %{REQUEST_FILENAME} !^/sis/*
   RewriteCond %{REQUEST_FILENAME} !^/res/*
   RewriteCond %{REQUEST_FILENAME} !^/api/*
   RewriteRule ^(.*) https://real.host.com%{REQUEST_URI} [R,L]
   Include /etc/opt/scalix-tomcat/connector/jk/app-host.sis.conf
   Include /etc/opt/scalix-tomcat/connector/jk/app-host.res.conf
   Include /etc/opt/scalix-tomcat/connector/jk/app-host.api.conf
</VirtualHost>

where host should be the server host name.

In this case the reference to /api and it's include file was missing.

Cheers

Dave

Posted: Mon Jul 09, 2007 8:45 am
by AaronM503
Thats the trick.

Thanks.