Integration of iOS devices (iPhone / iPad) with Sogo

Important: On iOS, you must also specify the range of events you want to have - not just enter the calendar url. In settings -> sync, choose All Events. Other options do not work.

How to configure SOGo/Apache2 to sync Calendar and Contacts with iOS 4 over SSL

  1. Check whether you have a file SOGo.conf at /etc/apache2/conf.d directory. Normally it should be there already placed by the install. If you've screwed up the install and want to repair the file you can copy one from the attach to this page.
  2. Enable SSL for Apache2 on ports 8843 (CardDAV) and 8800 or 443 (CalDAV). You do this by adding the following lines to your ssl.conf file (sample ssl.conf file is attached to the page):

    1. SSLProtocol all -SSLv2
    2. SSLCertificateFile /etc/apache2/ssl/certificate.pem
    3. SSLCertificateKeyFile /etc/apache2/ssl/certificate.key
    4. listen 8843
    5. listen 443
  3. Create two virtual hosts for Apache2 to serve CardDAV and CalDAV - sample files addressbookSSL (listens on port 8843) and calendarSSL (listens on port 443) are attached to the page.
  4. Restart apache, sogo and memcached:
    • sudo service apache2 restart
    • sudo service memcached restart
    • sudo service sogo restart
  5. In iPhone, iPad create a new account for calendar and addressbook. For calendar the URL is https://yourserver.com/SOGo/dav/Username and for contacts https://yourserver.com:8843

  6. Also there is a thread discussing the set up for the addressbook sync.

iOS (last edited 2011-09-12 07:54:49 by 137)