By the way mine did work both for caldav and carddav howerver with the
carddav the default port for iphone is 8843 (at least in my iphone) and
worked without any problem. With caldav when I was entering
hostname.domain.com and username and password it complains SSL error then i
checked in adavnce setting of iphone, acutally by default it is using 8443
port, i changed to 8843 in my case and all worked very well. I used the same
virtual host example that jef, bruno, mark suggested.

In my case that was the issue. Sergi bazhin try out configuring on port 8843
in your virtualhost and test for both carddav and caldav. You mentioned your
caldav does work but not carddav, I will send you my complete vhost config.
Also try 8843 without ssl on and see if you can connect from you iphone.

K

On Thu, Jul 28, 2011 at 4:08 PM, Bruno Leon <[email protected]> wrote:

> **
> This tends to say that the vhost is not SSL Enabled.
>
> --
> Bruno
>
>
> On 11-07-27 03:23 AM, Sergei Bazhin wrote:
>
> Strange thing - SOMETIMES when I try to connect to https://mega.local:8843via 
> FireFox I got the following message:
>
> An error occurred during a connection to mega.local:8843.
>
> SSL received a record that exceeded the maximum permissible length.
>
> (Error code: ssl_error_rx_record_too_long)
>
> Restart apache and the error message is gone - I see the blank screen.
>
> Regards,
> Sergei.
> ***
>
> 2011/7/27 Sergei Bazhin <[email protected]>
>
>> Hi Mark,
>> Yeap, I've added 8843 to ports.conf and netstat is showing apache is
>> listening on 8843.
>>
>> Sergei.
>> ***
>>
>>
>> 2011/7/27 Mark Adams <[email protected]>
>>
>>>  Did you do what I said?
>>>
>>> On 26 Jul 2011, at 13:55, Sergei Bazhin <[email protected]> wrote:
>>>
>>>  Reading the thread on iPhone AB connect I came up with the following
>>> virtual host config that seem to work for all but not for me....
>>> In the end I'm having a warning from apache
>>> [warn] worker http://127.0.0.1:20000/SOGo/dav/ already used by another
>>> worker
>>> that seems to be OK
>>> and
>>> a message from iPhone "Cannot connect using SSL" and not able to verify
>>> the account...
>>> Any ideas?
>>>
>>> <VirtualHost mega.local:8843>
>>>     Servername mega.local:8843
>>>     CustomLog /var/log/apache2/access.log combined
>>>     SSLEngine on
>>>     SSLCertificateFile /etc/apache2/ssl/webdav.pem
>>>     SSLCertificateKeyFile /etc/apache2/ssl/webdav.key
>>>     ProxyRequests Off
>>>     SetEnv proxy-nokeepalive 1
>>>     ProxyPreserveHost On
>>>     ProxyPassInterpolateEnv On
>>>     ProxyPass /SOGo/dav/ http://127.0.0.1:20000/SOGo/dav/ interpolate
>>>     ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
>>>
>>> <Proxy http://127.0.0.1:20000/SOGo/dav>
>>>   RequestHeader set "x-webobjects-server-port" "8843"
>>>   RequestHeader set "x-webobjects-server-name" "mega.local:8843"
>>>   RequestHeader set "x-webobjects-server-url" "https://mega.local: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>
>>>
>>>
>>> Regards,
>>> Sergei.
>>> ***
>>>
>>> 2011/7/26 Bruno Leon <[email protected]>
>>>
>>>>  On 11-07-26 02:06 AM, Sergei Bazhin wrote:
>>>>
>>>> I'm getting the following warning message after adding new virtual host
>>>> (I've created a site in sites-available and enabled it with a2ensite):
>>>> [warn] worker http://127.0.0.1:20000/SOGo/dav/ already used by another
>>>> worker
>>>> and netstat does not show me apache2 is listening on 8843 port...
>>>>
>>>>  The warning is normal and does not prevent things to work.
>>>>
>>>> --
>>>>  Bruno
>>>>
>>>>
>>>> Maybe there's smth wrong with original SOGo configuration
>>>> Below is my /etc/apache2/conf.d/SOGo.conf file - that's the only one
>>>> change to apache2 config I've made (apache2 is running an SSL site):
>>>>
>>>> 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
>>>> </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" "megaprom03.local"
>>>>   RequestHeader set "x-webobjects-server-url" "https://megaprom03.local
>>>> "
>>>>   RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"
>>>>
>>>>   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>
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Sergei.
>>>> ***
>>>>
>>>> 2011/7/25 Jeff Folk <[email protected]>
>>>>
>>>>> On Jul 25, 2011, at 11:32 AM, <[email protected]> wrote:
>>>>> >
>>>>> > Hi All,
>>>>> > Have just installed SOGo 1.3.8 under UBUNTU and having problems
>>>>> connecting to
>>>>> > address book from iPhone.
>>>>> > Can someone share a SOGo.conf file for Apache2 where address book
>>>>> works with
>>>>> > iPhone over SSL? (I have set up sogo over SSL).
>>>>> > From reading the web I got a feeling that there are some problems
>>>>> with Address
>>>>> > Book sync and it's not working???
>>>>> >
>>>>> > Thank you,
>>>>> > Sergei.
>>>>> > ***
>>>>>
>>>>>
>>>>>  Here's mine... Works with both iPhones and desktop Macs using Address
>>>>> Book. Notice that CardDAV is over port 8843:
>>>>>
>>>>> <VirtualHost 0.0.0.0:8843>
>>>>>  ServerName sme.qzoneinc.com
>>>>>  SSLEngine On
>>>>>  ProxyRequests Off
>>>>>  SetEnv proxy-nokeepalive 1
>>>>>  ProxyPreserveHost On
>>>>>  ProxyPassInterpolateEnv On
>>>>>  ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate
>>>>>  ProxyPass /SOGo/dav/ http://127.0.0.1:20000/SOGo/dav/ interpolate
>>>>>  ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
>>>>>
>>>>> <Proxy http://127.0.0.1:20000>
>>>>>  RequestHeader set "x-webobjects-server-port" "8843"
>>>>>  RequestHeader set "x-webobjects-server-name" "sme.qzoneinc.com:8843"
>>>>>  RequestHeader set "x-webobjects-server-url" "
>>>>> https://sme.qzoneinc.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>--
>>>>>  [email protected]
>>>>> https://inverse.ca/sogo/lists
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to