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

Most upvoted comments

I have this problem, too. With production: false, sandbox certificate and key.