Differences between revisions 3 and 4
Revision 3 as of 2011-05-25 10:59:42
Size: 563
Editor: jeroen
Comment:
Revision 4 as of 2011-08-21 13:00:55
Size: 1990
Editor: cdma-92-36-67-152
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

== 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. [[http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html|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 [[http://www.mail-archive.com/users@sogo.nu/msg06051.html|thread]] discussing the set up for the addressbook sync.

Integration of iOS devices (iPhone / iPad) with Sogo

  • The Sogo documentation describes what options you have to sync with your iOS device

  • With iPhone 3 you can use the calendar directly via caldav connetion (Look at the documentation about potential problems)
  • With iPhone 3 you have to use SyncML for your address book
  • With iPhone 4 and iPad you can access the address directly via Cardav, but you need to open/configure port 8800 and/or 8843 on the server too

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)