It looks like I have it.

I had to copy over the SSL configs to the virtualhost section to make the SSL work.


Listen *:6443
NameVirtualHost *:6443
<VirtualHost *:6443>
   SSLEngine on
   SSLProtocol all -SSLv2
   SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
   SSLCertificateFile /etc/ssl/usr-2-cert.pem
   SSLCertificateKeyFile /etc/ssl/private/usr-2-key.pem
   <Files ~ "\.(cgi|shtml|phtml|php3?)$">
       SSLOptions +StdEnvVars
   </Files>
  Servername <FQDN>
  DocumentRoot /usr/lib/GNUstep/SOGo/WebServerResources/
  ErrorLog /var/log/httpd/sogoerror.log
  Customlog /var/log/httpd/sogoaccess.log combined
  ServerSignature Off
Alias /SOGo.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
  Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
  <Directory /usr/lib/GNUstep/SOGo/>
   SSLOptions +StdEnvVars
     AllowOverride None
     Order deny,allow
     Allow from all
       <IfModule expires_module>
           ExpiresActive On
           ExpiresDefault "access plus 1 year"
       </IfModule>
  </Directory>
<LocationMatch "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)">
    SetHandler default-handler
  </LocationMatch>
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
  <Proxy http://127.0.0.1:20000/SOGo>
       RequestHeader set "x-webobjects-server-port" "6443"
       RequestHeader set "x-webobjects-server-name" "<FQDN>:6443"
       RequestHeader set "x-webobjects-server-url" "https://<FQDN>:6443"
       RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST
       AddDefaultCharset UTF-8
       Order allow,deny
       Allow from all
  </Proxy>
  ## We use mod_rewrite to pass remote address to the SOGo proxy.
  # The remote address will appear in SOGo's log files and in the X-Forward
  # header of emails.
  # RewriteEngine On
  # RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]
  # Redirect permanent /index.html http://sogo.example.com/SOGo
</virtualhost>


Then I changed the extensions.rdf file to use the new port:
<?xml version="1.0"?>

<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
 xmlns:isi="http://inverse.ca/sogo-integrator/";
 xmlns:em="http://www.mozilla.org/2004/em-rdf#";
 xmlns:NC="http://home.netscape.com/NC-rdf#";>
 <Seq about="http://inverse.ca/sogo-integrator/extensions";
   
isi:updateURL="https://<FQDN>:6443/SOGo-configs/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
   <li>
   </li>
 </Seq>
</RDF>


And Thunderbird and SOGo worked!

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to