drallgood / jpasskit

jPasskit is an Java™ implementation of the Apple™ PassKit Web Service.
Apache License 2.0
275 stars 109 forks source link

passbook pass is not opening in iphone #59

Closed jalinares closed 9 years ago

jalinares commented 9 years ago

I'm testing the version 0.0.7 and 0.0.6. the test (switching path), especially this class PKSigningUtilTest the method testJson. You have successfully generated the pass.pkpass file, but when I try to open iPhone does not open, This using certificates found in test / java / resources / passbook, I could tell what would be the way to fix it, if issue certificates? Thank you

drallgood commented 9 years ago

@jalinares The certificates included in the project aren't valid and can't be used to create/deploy valid passes to an iPhone. This is a safety measure so nobody can use my credentials to create passes.

You'll need to create and import your own certificates and keys to get this working. See https://github.com/drallgood/jpasskit/blob/master/jpasskit/tutorial/mini-tutorial.txt or Apple's documentation.