-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nested asn1 error #79
Comments
When you exported the cert from Keychain, did you select and export both the certificate and the private key? Notice the "select both" in the second image: |
It wasn't me who exported the cert, we already had a cert.pem file. But this file works fine in apn for node.js. I have at node.js cert.pem and key.pem files. I tried to merge them into one file for the 'grocer' gem, but still got the error. |
It sounds like your |
Yes. We exported a new But do you have an idea why in node.js it wasn't corrupt and here it made problems? |
I have some suspicions/speculations, but nothing for sure. One would be that the library used to unpack the |
I'm having a little problem with the grocer gem.
I followed the documentation's instructions, with my cert.pem file, but got:
nested asn1 error
my code:
ruby version - 1.9.3
grocer version - 0.5.0
More details here: http://stackoverflow.com/questions/23760894/ror-nested-asn1-error-while-sending-push-notification-via-grocer-gem
The text was updated successfully, but these errors were encountered: