Monday, February 15, 2016

Error - You have selected the Production server, yet your Certificate does not appear to be the Production certificate! Please check to ensure you have the correct certificate!

This is the error got from our .NET team when trying to push messages to iOS device with AdHoc/AppStore profile.

The issue was with the certificate file (.p12). 

When we create certificate (.p12) , Always export like selecting the certificate only. see the attached image