Baikal icon indicating copy to clipboard operation
Baikal copied to clipboard

Trouble adding carddav address book to MacOS Catalina Contacts app and IOS 13 Contacts

Open mac2net opened this issue 4 years ago • 4 comments

Baikal version: 0.6.1 I am using Mamp Pro on a machine on my LAN to serve Baikal. I am using latest versions of everything - MAMP Pro, MacOS, IOS.

  1. I installed Baikal and set it up to use with a MAMP Pro generated self-signed certificate.
  2. I added users and created calendars and address books.
  3. I connected the Baikal server to Calendar.app via CalDAV using "Advanced" and it functioned (add events)

Expected behaviour: I wanted to add an address book to MacOS Catalina Contacts app and IOS 13 Contacts and I am receiving Unable to verify account name or password

Current behaviour: 1. I was unable to add to Contacts.app via CardDAV using "Manual" or "Advanced" 2. I was unable to add to Contacts.app via CardDAV using "Manual" or "Advanced" 3. I was able to add to Calendar.app via CalDAV using "Advanced" 4. I added to BusyContacts no problem. I added a contact with BusyContacts to Baikal no problem 5. I was able to connect the Baikal server to the Contacts.app via LDAP, but I don't know the proper search base and scope so I couldn't see the directory 6. I logged into the server as Admin and as a user no problem

Bottom Line: While this doesn't look like a Baikal problem, something is not working with Apple Contacts on all platforms. My guess it has something to do with a self-signed certificate or using a fake LAN domain. Nevertheless, there is a lot working – Calendar, LDAP (connecting), BusyContacts.

Cheers Mike

mac2net avatar May 11 '20 16:05 mac2net

Hopefully I will hear back. I think the problem can be solved since it worked fine when I tried with an account on fruit.com

mac2net avatar May 23 '20 11:05 mac2net

Is your baikal instance reachable via https? is the certificate valid (no self signed and such)?

^ this is a requirement from the apple products as far as the experiance tells

DeepDiver1975 avatar May 25 '20 11:05 DeepDiver1975

Thanks for the response.

I was using a self-signed certificate that was good for a year. CalDav worked and CardDav didn't.

So I followed your advice, downloaded Homebrew, setup Let's Encrypt, Certbot and got everything working with Mamp Pro, a real Domain directed to my home IP and that machine with port forwarding (80 and 443) and the wordPress web sites work, but now neither CalDav or CardDav work.

I tried both the same machine as the server and another machine on the local network.

I can login as admin in the browser using https.

I wonder if that's because Let's Encrypt only issue 3 month certificates?

Any other ideas?

mac2net avatar May 26 '20 12:05 mac2net

Contacts app in Catalina need the reverse proxy on 443 with SSL to connect on Baikal.

Neifab avatar Dec 29 '20 03:12 Neifab

As mentioned above, you need SSL when self-hosting calendars on MacOS. More details about MacOS here: #1168

ByteHamster avatar May 18 '23 09:05 ByteHamster