This is a combination of information from the following two locations:
- Setting up CardDAV and CalDAV on Windows Phone 8.1
- Windows Phone 8: Solution how to Sync Calendar and Contacts
What is this?
This page gives an outline of how to get your Windows Phone to sync calendars and contacts with an ownCloud instance running on a server using a self-signed certificate. This whole process is a hack and I’m incredibly disappointed that Windows Phone does not support this natively – especially since they have a CalDAV and CardDAV implementation already available (used by iCloud and Google accounts). If this process stops working at some point, that should be expected.
I successfully got this working on a Lumia 735.
I’m assuming that you’ve got ownCloud installed on a server using SSL. When the certificate was set up, the FQDN must really be the FDQN. i.e. if your ownCloud instance is hosted at “a.b.com”, the certificate must be for “a.b.com” – not “b.com”. I had this wrong on my home server and was getting the “80072F0D” error on the phone. If you have not yet set up ownCloud or have not set up SSL for your server yet, there are sites already documenting this process How to Create and Install an Apache Self Signed Certificate.
You then need to get the certificate installed on your phone. If you do not do this, you will get errors when the phone tries to start syncing. You can do this by opening the certificate in Internet Explorer on the phone (you can do this easily by copying the certificate to your ownCloud files, logging into your cloud in IE on the phone and opening the file.
You should then be able to follow the instructions here: Setting up CardDAV and CalDAV on Windows Phone 8.1.
Which roughly reads:
- Create a fake iCloud account. Put garbage information in the fields and create it. The phone won’t check anything.
- Modify the account, edit the advanced settings then change the servers for CalDAV and CardDAV (respectively) as: