Computing and Networks

Your Apple “secret” CalDAV address

Having a small collection idevices in our household, we tend use the icloud calendar app (and iCal on the mac’s) to coordinate our appointments and reminders.  It just works and works well throughout the iVerse.

Problem is, I don’t always use Apple hardware.  Last year I looked long and hard as to what my dead iMac replacement would be and settled on a powerful Xeon workstation with buckets of memory and M.2 storage….and it has room to grow.  I digress.  Point is, I’m back to running linux on my daily rig and Apple doesn’t really play well with with others.

One thing that drove me nuts was the lake of connecting to my cal in the cloud with all my reminders.  I heard that Apple is useing some open standards for it’s cloud service so I should be able to sync something up with it.

I’ve followed a few convoluted solutions that I have found on the net that have worked for both the calendar and also tasks;

One way if you do have a Mac is to dive into your ~/Library/Calendars directory.  Depending on how many accounts you have linked to, this folder can be crowded, but what you are looking for as the <longs-tring-of-numbers-and-letters>.caldav directory  with a bunch of *.calendar directories, an Inbox and Attachments directory.  There you will find the pot of gold, the Info.plist.  Now let us begin:

Open the Info.plist and search for uuid, the number string (e.g. 298471256) is your user_id. Now search for the key DefaultCalenderPath, the associated string should resemble /user_id/calendars/calendar_name (e.g. /298471256/calendars/home)

Now we need the server address, search for the PrincipalURL key, the associated string should resemble <string>https://pNN-caldav.icloud.com/user_id/principal/</string>. E.g. (https://p11-caldav.icloud.com/298471256/principal/).  There you go, you now have enough pieces of the puzzle to start connecting to and syncing third party apps with Apples CalDAV (calendar and tasks) services.

So to put it all together.  In your calender application (evolution, thunderbird, iceweazle etc) create a new calender with:

Some CalDAV/calendering apps handle the Server information required differently.

***** ONE HUGE REAL BIG CAVEAT ******

If you are using two-factor authentication.  THIS WILL NOT WORK in many many many cases.  Disable two-factor authentication online in your account settings and setup challenge phrases.

2 thoughts on “Your Apple “secret” CalDAV address

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s