note 105071 deleted from function.openssl-pkcs7-verify by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jul 2011 16:12:37 +0000 |
| Subject: | note 105071 deleted from function.openssl-pkcs7-verify by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181892@lists.php.net to get a copy of this message | ||
Note Submitter: test
----
hi,
please give the solution for following:
1.We tried to verify the detached signature using openssl_pkcs7_verify(). but we got return value
as -1.
2. Signing part also getting error to fetch the private key from certificate.pem file. The error as
follows:
[error] [client 127.0.0.1] PHP Warning: openssl_pkcs7_sign() [<a
href='function.openssl-pkcs7-sign'>function.openssl-pkcs7-sign</a>]: error
getting private key in Test.php
[client 127.0.0.1] PHP Warning: openssl_pkcs7_sign() [<a
href='function.openssl-pkcs7-sign'>function.openssl-pkcs7-sign</a>]: error
getting cert in Test.php on line 8,
3. openssl_pkcs_verify() - we are getting trouble to pass the input content using detached type.