74

I have recently created an Apple Push Service certificate on my M1 mac mini. In the Keychain, it says the certificate is not trusted.

enter image description here

I have installed the Developer Relations Intermediate Certificate as mentioned in here

Also installed the following Intermediate Certificates from Apple

enter image description here

Still, the Push Service certificate shows it's not trusted. Meanwhile, new development and distribution certificates created are marked as "This certificate is valid". Can anyone point me in the right direction to fix this issue?

Guru
  • 4,693
  • 3
  • 25
  • 45

2 Answers2

170

I have installed the G3, G4, and G5 certificates from the Apple certificate authority and that solved my problem

https://www.apple.com/certificateauthority/

enter image description here

Edit: G4 Certificate is key for solving the issue.

Guru
  • 4,693
  • 3
  • 25
  • 45
  • 2
    This is not intuitive at all .. I tested my exported cert and key via the existing Twilio services and got pushes with production and dev, but the cert in my local Mac Keychain said "not trusted" ..? A few beads of sweat later, with a few downloads via the above link, and the cert says valid! This causes serious confusion.. thanks a ton – whyoz Mar 22 '22 at 01:08
  • Just to clarify it doesn't seem like there is any impact right? Even though the local machine says the certificate isn't trusted your services communicating with APNs using the certificate still performed normally? – amza Mar 23 '22 at 20:44
  • 11
    Thanks man. Saved many hours. for me G4 was enough to install. – Manish Apr 04 '22 at 10:44
  • This worked for me too. The entire process is so opaque, it almost feels like intentional. – Babao Apr 09 '22 at 03:32
  • It happened to me from April 13th 2022, I requested support and they asked me about the browser which I used (...) and other thinks unrelated to this issue which was only due to their responsibility, thanks. – Andrea Leganza Apr 15 '22 at 12:28
  • G5 enough for me – kokemomuke Jul 07 '22 at 10:01
  • @whyoz You got the Exported Certification & Key to work with Twilio? I need help with that. Can't get the Notifications to work despite following all the steps from here https://www.twilio.com/docs/conversations/ios/push-notifications-ios – Rizwan Walayat Apr 05 '23 at 11:46
64

Just a more specific answer from Guru's:

Go to the info panel of your untrusted certificate and you'll see the issuer's info, like this: enter image description here

This indicates the issuer is a Worldwide Developer Relations G4 (for now).

Then go to https://www.apple.com/certificateauthority/ and pick that certificate and install it.

Eric Yuan
  • 1,213
  • 11
  • 13