Page 4 of 4

Invalid certificate chain error

Posted: Tue Jun 24, 2014 4:08 pm
by Maryna Brodina

Looks like something is wrong with your certificates... Push worked for me in your app.

Please have a look on certificates settings in app

iOS binary tab

Image

Push notifications tab

Image

So there are two different certificates. Do you have the same? Could you post screenshots?


Invalid certificate chain error

Posted: Tue Jun 24, 2014 5:35 pm
by Jonah Greenberger

Maryna - I created the iOS binary certificate from the iOS Distribution type certificate on the apple developers page, the provisioning profile from Distribution Provisioning Profile certificate, and the push certificate from the APNs Production iOS certificate. See images below. However, now I'm getting the attached error. What do you think? Image Image Image


Invalid certificate chain error

Posted: Tue Jun 24, 2014 7:22 pm
by Maryna Brodina

Need to check with developers team... I will update.


Invalid certificate chain error

Posted: Tue Jun 24, 2014 7:46 pm
by Jonah Greenberger

Thanks!


Invalid certificate chain error

Posted: Wed Jun 25, 2014 7:23 am
by Kateryna Grynko

Hi Jonah,

You certificate seems to be invalid or expired.

Please make sure you use valid certificate. Check Push notifications tab.
If there is a needed certificate specified, you can check your certificates and provisioning profile on
http://developer.apple.com


Invalid certificate chain error

Posted: Wed Jun 25, 2014 4:52 pm
by Jonah Greenberger

ok very cool. I got the notifications to work by switching to all development certificates and unchecking "release" and "production" check boxes under "App Settings."

now if I want to use distribution certificates and test that push notifications still work, is this possible? I tried switching to all the distribution certificates and checked the "release" and "production" check boxes under "App Settings." However, I got this error Image


Invalid certificate chain error

Posted: Thu Jun 26, 2014 8:15 am
by Kateryna Grynko

Hi Jonah,

Unfortunately, distribution certificates can be tested only after publishing your app. That's okay, if it works with developer certificates. Developer certificates are for testing your application before uploading so you don't have to test with distribution certificates. Please add distribution and upload your app to App Store. I believe it should work properly.


Invalid certificate chain error

Posted: Mon Jul 07, 2014 12:53 pm
by Marco Spera

Invalid certificate chain error

Posted: Mon Jul 07, 2014 2:01 pm
by Kateryna Grynko

Hi Marco,

As you can see in console, simulator doesn't support PushNotifications. This functionality must be tested on installed app.


Invalid certificate chain error

Posted: Mon Jul 07, 2014 2:52 pm
by Marco Spera

sorry, You can disregard this post. I posted it in the wrong topic thread.