Why do I get this message by Production APNS certificate?
"The certificate environment did not match. Ensure that you got the right development or production APNS certificate."
What is exactly 'The certificate environment'? Development APNS certificate makes no problem. I don't get it.
Click Apple Push Certificates portal. In the new tab, sign in to the Apple portal with the Apple ID and password you used when you created the certificate. Next to the certificate you want to renew, click Renew and accept the terms of use.
To enroll and manage Apple devices in Endpoint Management, you set up an Apple Push Notification service (APNs) certificate from Apple. The certificate enables mobile device management through the Apple Push Network.
Had the same issue!
While exporting from Keychain right click on Certificate itself not on the Private Key inside of it.
I had the same issue and here's what I did to solve.
The issue was because I generate both Development APNS Certificate and Production APNS Certificate using the same certificate signing request file (the file that you got from Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority). Apparently, the certificate signing request file should not be the same.
To solve this problem:
.certSigningRequest
file you just createdReference:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With