Invalid iss (issuer) from APNS p8 device

I have generated a key for APNS push notification in a newly created Apple account. However if I check the certificate with the Apple tool https://icloud.developer.apple.com/dashboard/notifications/ it displays "invalid iss (issuer)"

(If I want to use it, I get a 403 error ("InvalidProviderToken"), that is logical)

(it works fine on other account with the working generated key)

Any idea to understand the issue ?

By "certificate" I assume you mean the provider (JWT) token

The issue (Issuer) must be the Team ID to which the app belongs to. How are you generating the JWT? You will need to double check the inputs to the generating algorithm, and make sure the issue field is the team id, the kid is the correct key id, and the whole thing is signed correctly with the correct APNs key.


Argun Tekant /  DTS Engineer / Core Technologies

Thank you. However I am talking about the secret key (P8 format) I have an existing key generated a few years ago that works fine but today the key generation does not seem to work. To check the key, I used the "JWT generator" in the tab "Tools" of "Push notification" inside the Apple developer website. So I generate the key from my Apple account then upload it in the tool and it indicates that the issuer is wrong ! (of course it works fine with my old key)

Hello, after several unsuccessful attempts yesterday afternoon (Europe/Paris time). We generated 1 private key again this morning. And the generated Key seems to be functional.

Invalid iss (issuer) from APNS p8 device
 
 
Q