From steve.t.smith at gmail.com Sun Oct 13 18:04:34 2019 From: steve.t.smith at gmail.com (Steven Smith) Date: Sun, 13 Oct 2019 21:04:34 -0400 Subject: [CalendarServer-users] APNS configuration for ccs-calendarserver Message-ID: <402D797D-3A85-491F-99E0-B2B6A4E8FB80@gmail.com> I have a working APNS service on a mail server and would like to configure a working ccs-calendarserver for APNS. I have all the valid APNS certificates and keys?both in my System Keychain and as pkcs12 and PEM files?but haven?t been able to figure out the right calendarserver configuration to get APNS up and running on ccs-calendarserver. I also have the full TLS chain of trust from https://www.apple.com/certificateauthority/ and have verified that all certs are valid. It?s not clear what the APNS settings should point to: PEM files? System Keychain items? For example, when I use PEM files in the configuration as shown immediately below, I get this error when I launch calendar server: > Cannot retrieve CalDAV APNS passphrase from keychain calendarserver.plist (just showing CalDAV section): > APNS > > Enabled > > CalDAV > > CertificatePath > /var/calendarserver/Library/CalendarServer/etc/apns/com.apple.calendar.cert.pem > PrivateKeyPath > /var/calendarserver/Library/CalendarServer/etc/apns/com.apple.calendar.key.pem > AuthorityChainPath > /var/calendarserver/Library/CalendarServer/etc/apns/com.apple.calendar.chain.pem > What should the settings for CertificatePath, PrivateKeyPath, and AuthorityChainPath point to? Also, I see the settings Passphrase, KeychainIdentity, and Topic in https://github.com/apple/ccs-calendarserver/blob/master/conf/caldavd-stdconfig.plist . Should these be set as well? To what settings? I should be very having working APNS on calendarserver, but don?t see any documentation for the configuration and am unsure what the correct magic incantation is. When I get this up and running, I?ll amend the MacPorts PR for ccs-calendarserver to include APNS. Relevant PRs: ? https://github.com/macports/macports-ports/pull/4978 ? https://github.com/macports/macports-ports/pull/5482 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3898 bytes Desc: not available URL: