Hello together, after 3days of frustration I hope you can help.
I setup Sogo on Ubuntu 12.04. Everything works fine. Web is well, and with iOS devices caldav is also well. The problem is about carddav! If I enter https://srv.mydomain.com:8843 in browser, field for entering username and password comes up and after entering browser is only white. so it seems to be okay. But on iOS entered the date everytime the message that ssl connection is impossible comes up and the carddav can not be verrified. The Probelm the try to connect nevertheless appear in the sogo logs or the ssl-access logs of apache?! if I try with the browser likes described, this will be shown in the logs. For testing the sync via Thunderbird Sogo Connector on address: https://srv.domain.com:8843/SOGo/dav/user is functional! here are my settings of apache: /etc/apache2/conf.d/SOGo.conf: ##### 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/> 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" "443" RequestHeader set "x-webobjects-server-name" "srv.domain.com" RequestHeader set "x-webobjects-server-url" "https://srv.domain.com" RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" 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> RewriteEngine On RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT] ########## ########## and specially for ios carddav the vhost: /etc/apache2/sites-avaiable/card-dav.conf --> enabled by a2ensite! <IfModule mod_ssl.c> NameVirtualHost *:8843 <VirtualHost *:8843> ServerName srv.domain.com CustomLog ${APACHE_LOG_DIR}/access.log combined ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn SSLEngine On SSLCertificateFile /etc/apache2/domain.crt SSLCertificateKeyFile /etc/apache2/domain.pem SSLProtocol all -SSLv2 RewriteEngine Off ProxyRequests Off SetEnv proxy-nokeepalive 1 ProxyPreserveHost On ProxyPassInterpolateEnv On #for CardDAV ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate <Location /> Order allow,deny Allow from all </Location> <Proxy http://127.0.0.1:20000> RequestHeader set "x-webobjects-server-port" "8843" RequestHeader set "x-webobjects-server-name" "srv.domain.com:8843" RequestHeader set "x-webobjects-server-url" "https://srv.domain.com:8843" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" RequestHeader set "x-webobjects-remote-host" "127.0.0.1" AddDefaultCharset UTF-8 Order allow,deny Allow from all </Proxy> </VirtualHost> </IfModule> ######### ######### and to make apache listen: /etc/apache2/ports.conf NameVirtualHost *:80 Listen 80 <IfModule mod_ssl.c> # If you add NameVirtualHost *:443 here, you will also have to change # the VirtualHost statement in /etc/apache2/sites-available/default-ssl # to <VirtualHost *:443> # Server Name Indication for SSL named virtual hosts is currently not # supported by MSIE on Windows XP. Listen 443 Listen 8843 </IfModule> <IfModule mod_gnutls.c> Listen 443 Listen 8843 </IfModule> Thanks very much for helping! best greetings marcus -- [email protected] https://inverse.ca/sogo/lists
