Getting to your iCloud calendar from iCal 4 (OSX10.6) or a CalDAV client
UPDATED 10/15/11 with new instructions!
I work in an environment where all the machines are tied to a single sign-on system and all the users, be they Mac, PC or Linux, have their home directories mounted from a server at login. Right now, OSX Lion won’t work in that environment, so all our Macs are running 10.6 or 10.5.8.
But what if I want to use my iCloud calendar from work via iCal (or another CalDAV capable client**)? It’s pretty damned easy, actually, I’m happy to say.
Maybe this is published somewhere, maybe not. But I figure a couple of my peeps might benefit from me posting this up. So here goes.
- Get your calendar set up and up to date in iCloud first. Don’t monkey with doing that after the fact.
- It just got easier. Skip to step 10 and ignore the steps below that says [SKIP]
- [SKIP] Open icloud.com in a web browser and go to your calendars. Click on the circular ‘wireless’ icon to the right of the name of the calendar you want to use. The calendar you want to use must be shared.
- [SKIP] Note the name of the server right after webcal:// (example: p02-www.icloud.com)
- Open iCal 3. (I’ll be referring to iCal from here on, I can’t say for sure how other CalDAV clients will respond).
- In iCal, go to Preferences -> Accounts and click the add account button (+)
- Select CalDAV as the account type.
- Enter your iCloud username (for instance, email@example.com) and password
- [SKIP] For server address you need to slightly modify that server name you jotted down in step 3
If the server was p02-www.icloud.com, you would replace www with caldav and enter p02-caldav.icloud.com
- For the server address simply enter “caldav.icloud.com” (I don’t know when this started working, but it does.)
- Click create. If presented with a choice of two possible servers, choose the one that says caldav.icloud.com, not cal.me.com — IF YOU GET AN ACCESS NOT PERMITTED ERROR then you’ll need to use the greyed out instructions instead.
- Live large. Your now have your iCloud calendar and reminders in iCal. You might want to change how it refreshes, if you’re like me and want control over that. Push may not work as well in iCal 3. Otherwise, it’s a full CalDAV implementation; add, delete, modify, etc.
** Update: I haven’t been able to get it working in Lightning/Sunbird yet. But it’s most likely a matter of forming the URI correctly. It should be somehting along the lines of:
or some variation thereof. I’ll try to work on this more tomorrow.
Update 2: It appears they’re also using CardDAV for contacts (hooray for standards!). The path for that would start https://pXX-contacts.icloud.com/[unique ID]/carddavhome (Thanks MacRumors forums!)
As of 10/15 6:30pm EDT I have NOT been able to get this working in Address Book 5. If you want to take a stab at it, I do know that Address Book 6 uses a URI like:
https://[username]%40mac.com@pXX-contacts.icloud.com:443/[unique ID#]/carddavhome/card/[long srting].vcf
%40being necessary as you can’t have two @ in there but need to include an email address as a username.)
Update 3: So they’re not using a SRV record to do it as far as I can tell (but they are using Akamai so there’s at least one layer of abstraction). Next…
Yours in nerdery,