Page 2 of 4
Invalid certificate chain error
Posted: Wed Jun 18, 2014 2:00 pm
by Jonah Greenberger
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
Invalid certificate chain error
Posted: Wed Jun 18, 2014 2:02 pm
by Jonah Greenberger
when I try to create an .ipa I get the following error (see attached)
Invalid certificate chain error
Posted: Wed Jun 18, 2014 2:04 pm
by Jonah Greenberger
...but there are no options in the drop down for me to set distribution certificate in iOS binary (see attached)
Invalid certificate chain error
Posted: Wed Jun 18, 2014 2:32 pm
by Maryna Brodina
[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...
Invalid certificate chain error
Posted: Wed Jun 18, 2014 4:30 pm
by Jonah Greenberger
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?
Invalid certificate chain error
Posted: Thu Jun 19, 2014 7:16 am
by Maryna Brodina
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/...
Invalid certificate chain error
Posted: Thu Jun 19, 2014 2:56 pm
by Jonah Greenberger
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
Invalid certificate chain error
Posted: Thu Jun 19, 2014 3:11 pm
by Maryna Brodina
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?
Invalid certificate chain error
Posted: Thu Jun 19, 2014 3:39 pm
by Jonah Greenberger
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)
Invalid certificate chain error
Posted: Fri Jun 20, 2014 11:24 am
by Maryna Brodina
Hello!
In App Settings--iOS binary tab uncheck Release
In App Settings--Push notifications tab uncheck Production
Please let us know result.