node-apn: Credentials validation still fail even the settings were okay
I upgraded to v1.7.1 from 1.6.2 and 1.7.0 (which was a bad release) with the same production cert from apple. However with 1.7.1, I always get the error thrown for certificate does not support configured environment, production: false.
Note that the setup worked with v1.6.2 without any problems.
Env: cygwin-x64, node v0.11/v0.12.
Thanks.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 33 (2 by maintainers)
Commits related to this issue
- It's not clear that `production` can be overridden #245 — committed to node-apn/node-apn by argon 9 years ago
- added feedback doc detail to help with #245 — committed to trevorah/node-apn by trevorah 9 years ago
- Merge pull request #274 from trevorah/patch-1 added feedback doc detail to help with #245 — committed to node-apn/node-apn by argon 9 years ago
- Further clarification for #245 — committed to node-apn/node-apn by argon 9 years ago
I have this problem, too. With production: false, sandbox certificate and key.