eymengunay / php-passbook

iOS passbook library for PHP
http://eymengunay.github.io/php-passbook/
MIT License
263 stars 53 forks source link

"signature" file not created #71

Closed ismail-wun-sg closed 7 years ago

ismail-wun-sg commented 7 years ago

I'm getting the following error...

Warning: file_get_contents(output\1234567890\signature): failed to open stream: No such file or directory in C:\xampp\htdocs\applepass\Passbook\PassFactory.php on line 316

In my "output\1234567890" folder, the following files are created...

But there is no "signature" file.

This causes the code on line 316 in PassFactory.php to throw the error.

I'm on windows and how I generated the "AppleWWDRCA.pem" file is as follows...

openssl pkcs12 -export -out cert.p12 -inkey developer_identity.key -in developer_identity.pem -certfile AppleWWDRCA.pem

ismail-wun-sg commented 7 years ago

Ran the same code on a different machine and the "signature" file was created successfully.