tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Warning: openssl_pkcs7_sign(): error opening the file (Windows/IIS/PHP5.3) #38

Closed ghost closed 8 years ago

ghost commented 11 years ago

No matter what I do, I always get this error:

Warning: openssl_pkcs7_sign(): error opening the file, file://C:/Inetpub/vhosts/(domain)/httpdocs/(folder)/certs/wwdr.pem

(domain)&(folder) replaced for obv. reasons.

I've tried relative paths, i then used absolute, then tried the file:// method... I've changed MIME type for .pem to various suggestions but I'm lost. I Just don't understand why it won't work

mastermind4242 commented 10 years ago

openssl_pkcs7_sign() error is comming because of php_openssl extension of PHP SERVER.

the server you are using for running this file in that server check [php_openssl] extension is disabled.

You need to enable it first then only it will run.

Or you can upload all the data to some other server and test it there.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.