Apple notification service connection couldn't be established due to invalid key/certificate.

4 posts, 0 answers
  1. Brian Andersen
    Brian Andersen avatar
    5 posts
    Member since:
    Mar 2010

    Posted 11 Nov 2015 Link to this post

    HI All

    Push notifications: I have tried to follow the guide here :http://docs.telerik.com/platform/backend-services/javascript/push-notifications/push-getting-started#ios-prerequisites

    I have an managed to get the app on my iPhone

    I have created the backend service, and My iphone is detected. All is fine so far untill I get the error: "Apple notification service connection couldn't be established due to invalid key/certificate." - when I try to do a browser push.

    I have exported a p12 file from my app project and used that as development certificate and enabled IOS push notiifications. Can someone point me to where and how I should generate the right solutio? The p12 - do I need to get that from apples site? I am also on windows so an apple key chain isn't really availble. I must admit I can't make any sense out of the apples certificate circus and can't find any good guides to help me. Above guide provides no help regarding how to get the certificates.

    I hope there is a kind spirit out there who have been where I am now and knows how to point me in the right direction.

    Kind regards
    Brian

     

  2. Brian Andersen
    Brian Andersen avatar
    5 posts
    Member since:
    Mar 2010

    Posted 11 Nov 2015 Link to this post

    Trying this guide: http://www.telerik.com/blogs/let's-get-push-notifications-working-in-phonegap-and-ios

     I will post if it works :)

  3. Brian Andersen
    Brian Andersen avatar
    5 posts
    Member since:
    Mar 2010

    Posted 12 Nov 2015 Link to this post

    The guide was very helpfull. It didn't work straight off since the guide is older (I guess) but that guide combined with:

    This:

    http://www.telerik.com/forums/device-shown-as-not-active

    And this:

    http://docs.telerik.com/platform/backend-services/javascript/push-notifications/push-getting-started

    And using the everlive JS reference to:

    https://bs-static.cdn.telerik.com/1.5.7/everlive.all.min.js

     Now I manage to do a"hello world" notifcation to my app. can start developing. Hopefully moving to production will be less painful, and I hope this can help someone else.

     /Brian

  4. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 16 Nov 2015 Link to this post

    Hello Brian,

    Thank you for taking the time and posting the solution for others to use and giving us a few leads about what needs improvement in the docs. We are glad to hear that you can now continue developing your app with Telerik Platform.

    Let us know should you have further questions or suggestions.

    Regards,
    Anton Dobrev
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top