0

I'm currently trying to enable my Push Notification on my project but I'm getting this error

I went to my app ID and saw that it is enabled as well.

When I was looking at my certificated, I also saw that I'm getting a "this certificate has an invalid issuer" on my certificated that I created. Could that be the main source of the problem?

I would appreciate any insight and thanks in advance! :)

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Tim
  • 2,221
  • 6
  • 22
  • 43
  • For certificate problem, you may check the answer in this link:http://stackoverflow.com/questions/35390072/this-certificate-has-an-invalid-issuer-apple-push-services – Son Le Jun 11 '16 at 03:14
  • I tried doing the show expired certificates but it didn't seem to be the problem. I also tried downloading the file from the provided links but when I try to ran it, nothing happened. :( – Tim Jun 11 '16 at 03:19

1 Answers1

0

Download this certificate and add inside your keychain

But first close your Xcode because it accessing your certificates thats why and delete all expire or invalid certificate from your keychain and restart your MAC then download this certificate and add into your keychain.

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

I hope it will help you.

Community
  • 1
  • 1
Anand Nimje
  • 6,163
  • 4
  • 24
  • 43
  • hm it still appears as "invalid issuer" – Tim Jun 12 '16 at 01:17
  • Actually i also faced Invalid certificate issue and i did this only. Have you deleted your all old certificate from your keychain? – Anand Nimje Jun 13 '16 at 04:15
  • Sorry, I'm not sure I understand what you mean by old certificate? All my certificates either say that it is valid or from an invalid issuer. None of them have actually expired :-( – Tim Jun 17 '16 at 20:14
  • Old certificate here those certificates you downloaded before and they were inside your KeyChain.Clear your all certificates from your keychain then restart your PC then install WWDRCA certificate. – Anand Nimje Jun 18 '16 at 15:16
  • i deleted all of my certificates and restarted my mac but when i double click the certificate in my downloads folder, my keychain access is popped up but nothing is downloaded into it :/ – Tim Jun 18 '16 at 20:32
  • Have you tried to manually import certificate inside keychain? There options are available for import inside Keychain.If you having problem with import certificate with double click then you can go with this process. – Anand Nimje Jun 19 '16 at 04:50
  • hm i'm at a complete loss now. I tried going to File > import items > mycertificatefile but nothing shows up still. This is very strange – Tim Jun 19 '16 at 05:39
  • Ok let me check if any another way try to solve your problem if i get any type of solution related your issue. – Anand Nimje Jun 19 '16 at 07:51
  • i solved the problem! for some reason, the certificates just suddenly became validated out of nowhere. Don't really know how it happened but I think the credit goes to you :-) thank you Anand! – Tim Jun 20 '16 at 02:46
  • Well come #Tim, now you understand how to resolve certificate issue Good job . – Anand Nimje Jun 20 '16 at 04:27