Can the mdm.pem certificate be connected to api.sandbox.apple.push.com?

I received an update to the APN root certificate. Testing the connection using MDM.pem to the push environment returned the following error:BadCertificateEnvironment

openssl s_client -tls1_2 -connect api.sandbox.push.apple.com:2197 -cert mdm.pem -certform PEM -key privatekey.pem -keyform PEM 
...
...
...
Start Time:1739846652
Timeout
:7200(sec)
Verify return code:0(ok)
Extended master secret:yes
Ð@@.{"reason" :"BadCertificateEnvironment"}closed
Answered by Engineer in 825878022

MDM certificates cannot be used in Sandbox APNs. That's why you are getting this error.

We do have a production endpoint set up for testing the new root cert. You can use:

openssl s_client -connect 17.188.172.30:443 -showcerts

Or use that endpoint to send an actual MDM push for a complete peace of mind.


Argun Tekant /  DTS Engineer / Core Technologies

MDM certificates cannot be used in Sandbox APNs. That's why you are getting this error.

We do have a production endpoint set up for testing the new root cert. You can use:

openssl s_client -connect 17.188.172.30:443 -showcerts

Or use that endpoint to send an actual MDM push for a complete peace of mind.


Argun Tekant /  DTS Engineer / Core Technologies

Can the mdm.pem certificate be connected to api.sandbox.apple.push.com?
 
 
Q