Hi,
Im trying to sign a text file with openssl_pkcs7_sign, but Im getting nowhere.
No matter what I do I get "error getting private key" or "error getting cert". Im trying this with a Thawte certificate and a self issued one (following this http://www.akadia.com/services/ssh_test_certificate.html).
I have tried with 'file://' in the path and without also with and without a password on the key.
I have tried on three different php versions (all from the php 5.3 branch) and to me it seems the function is broken.
Does anyone has a working piece with this function? On what php version does it work?
Thanks for looking