Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

Maryna - this sounds like it could be the issue. When you say Push Notification Tab, do you mean of appery, xCode, iTunes, or something else? Where can I find this tab and once I find it, should I just create a new certificate using keychain to make sure it's different than the one I use to create the .ipa file? Also note that to test the app I'm creating an xcode project file vs. an ipa file using appery.

Thanks again,

Jonah

Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

when I try to create an .ipa I get the following error (see attached) Image

Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

...but there are no options in the drop down for me to set distribution certificate in iOS binary (see attached) Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Invalid certificate chain error

[quote:]When you say Push Notification Tab, do you mean of appery, xCode, iTunes, or something else?[/quote]I mean in Appery.io builder, it is Project--App Settings--Push Notifications
[quote:]should I just create a new certificate using keychain to make sure it's different than the one I use to create the .ipa file[/quote]it should be special certificate for sending Pushes, more information is here http://devcenter.appery.io/tutorials/...
[quote:]when I try to create an .ipa I get the following error[/quote]you need to cpecify certificate according to error message
[quote:]there are no options in the drop down for me to set distribution certificate in iOS binary (see attached) [/quote]firs add all certificates you need (for building .ipa file and sending Push) on Account--Certificates tab http://devcenter.appery.io/documentat...

Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

hmm - it looks like I have the P12 dev push certificate on the Push Notification Tab you mention. Which different p12 certificate do I need to add on the Account --Certificates tab?

What else could this be?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Invalid certificate chain error

Hello!

To build .ipa file and be able to send push notifications you should have 2 different certificates from Apple.
1) Certificate to build .ipa file, you need to upload this certificate on Project--App Settings--iOS binary tab http://devcenter.appery.io/documentat...
2) Push certificate, you need to upload this certificate on Project--App Settings--Push notifications tab http://devcenter.appery.io/tutorials/...

Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

Got it.

Per your advice, I used two certificates. Now the push notifications say they are being sent, but unfortunately do not show up on my device. Any thoughts?

Jonah

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Invalid certificate chain error

Just to make things clear...
You uploaded both certificates, corresponding Provisioning profiles, exported .ipa file again with no build error and installed app on device.

There is also no error when you send Push and device is regitered in Devices collection, but messages are not delivered?

Jonah Greenberger
Posts: 0
Joined: Mon Jun 16, 2014 3:58 am

Invalid certificate chain error

Maryna - that's right except I have two provisioning profiles for development on my apple developer account so I'm not sure if it matters which I use.

The push notification says it's sent (see attached image) Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Invalid certificate chain error

Hello!

In App Settings--iOS binary tab uncheck Release
In App Settings--Push notifications tab uncheck Production

Please let us know result.

Return to “Issues”