Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This certificate has an invalid issuer Apple Push Services

I have created certificate to enable Push Services in my app, but every time I try to add certificate in my Keychain, after adding certificate it shows me following error:

This certificate has an invalid issuer

enter image description here

like image 973
Aamir Avatar asked Feb 14 '16 09:02

Aamir


People also ask

How do I get a Apple push certificate?

From your Admin console, click Apple Push Certificates Portal and sign in to the portal with your Apple ID and password. Click Create a Certificate and accept the terms of use. Click Choose File and select the certificate signing request (.

What is Apple Push Services certificate?

Push Notification Certificates let you send notifications to users of your app. They expire one year after creation and must be renewed in order to let you send in-app notifications to your end-users.

What happens if Apple push certificate expires?

Like Push certificates VoIP certificates cannot be renewed, you have to create a new one. VoIP notifications will not work, if your VoIP certificate is expired or you revoke it. If you create a new certificate, you need to deploy the new p12 on server side.

Why is my certificate not trusted Apple?

If you want to turn on SSL/TLS trust for that certificate, go to Settings > General > About > Certificate Trust Settings. Under "Enable full trust for root certificates," turn on trust for the certificate. Apple recommends deploying certificates via Apple Configurator or Mobile Device Management (MDM).


1 Answers

I think I've figured this one out. I imported the new WWDR Certificate that expires in 2023, but I was still getting problems building and my developer certificates were still showing the invalid issuer error.

  • In keychain access, go to View -> Show Expired Certificates. Then in your login keychain highlight the expired WWDR Certificate and delete it.
  • I also had the same expired certificate in my System keychain, so I deleted it from there too (important).

After deleting the expired certificate from the login and System keychains, I was able to build for Distribution again.

like image 61
AcidicSkittles Avatar answered Oct 08 '22 15:10

AcidicSkittles