Andrew Ferrier
Andrew Ferrier

Reputation: 17752

How does the IBM MobileFirst server know if it is in "production" or "sandbox" mode for APNS notifications?

I'm looking at the MobileFirst Platform 7.1 push notification setup instructions, and am trying to debug an issue with an MFP server where it seems to be connected to the wrong Apple backend server (sandbox where it should be production).

To clarify: how does the MFP server know if it is in "sandbox" or "production" mode? Is it purely based on which of the two .p12 files (apns-certificate-sandbox.p12 and apns-certificate-production.p12) exist in the .wlapp file? What happens if both of them are present?

Upvotes: 0

Views: 102

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

I believe it is based on the name of the certificate. It either ends with "sandbox" or "production".

Upvotes: 1

Related Questions