<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 20, 2015, at 1:28 AM, Lucian Szantho &lt;<a href="mailto:lucian.szantho@gmail.com" class="">lucian.szantho@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:large">Hi, I am trying to setup push notifications in CalendarServer 7 and I think I have managed to figure out how to configure the Notifications/APNS in caldavd-dev.plist; when I connect the iOS Calendar client, I can see that inside the Preferences/Accounts the setting: "Refresh Calendar: Push".</div><div class="gmail_default" style="font-size:large">Server side, I have checked and the SubscriptionURL has received a http request with the "key" and "token" parameters. But the notifications are not working between two devices (Macbook and iPhone).</div><div class="gmail_default" style="font-size:large"><br class=""></div><div class="gmail_default" style="font-size:large">I have figured out that I didn't use a correct certificate/key. However I am still confused about the following:</div><div class="gmail_default" style="font-size:large">* what is expected in the AuthorityChainPath?</div><div class="gmail_default" style="font-size:large">* how can I get the required certificates and key that would work for the calendarserver? I know that on OSX Server.app this is automated.</div><div class="gmail_default" style="font-size:large">* the push topic is the bundleID of the target app. does this mean that push notifications would work only for the OSX/iOS Calendar client?</div></div></div></blockquote><div><br class=""></div><div>Hi,</div><div><br class=""></div><div>APNS push to iOS clients (i.e. apple's Calendar app) is supported only from iCloud or X Server, because APNS certs matching the bundle ID required by iOS client is in the apple domain, and not something a third party could request for themselves (i.e. using the certificate portal at https://<a href="http://certificates.apple.com" class="">certificates.apple.com</a>).</div><div><br class=""></div><div>It is probably possible to develop your own client using some other bundle ID, following the official documentation of APNS from Apple, and use the associated APNS certs with CalendarServer.</div><div><br class=""></div><div>-dre</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:large"><br class=""></div><div class="gmail_default" style="font-size:large">Thanks,</div><div class="gmail_default" style="font-size:large">/Lucian</div><div class="gmail_default" style="font-size:large"><br class=""></div></div>
_______________________________________________<br class="">calendarserver-users mailing list<br class=""><a href="mailto:calendarserver-users@lists.macosforge.org" class="">calendarserver-users@lists.macosforge.org</a><br class="">https://lists.macosforge.org/mailman/listinfo/calendarserver-users<br class=""></div></blockquote></div><br class=""></body></html>