|
Rank: Starting Member
Groups: Registered
Joined: 2/12/2009 Posts: 1 Location: ,
|
Hi all,
I am new to paypal and I am maintaining a site which somebody else had already integrated Paypal with encryped settings "Buy now" buttion.
The issue was, the certificate has expired and I generated new one by following the guidelines
The following files/certificates are generated
my-prvkey.pem , my-pubcert.pem and downloaded paypal_cert_pem.txt
But now the issue is, these files (my-prvkey.pem & my-pubcert.pem ) cannot be opened. The PHP function return exactly the error
Warning: file_get_contents(/var/www/kaiser/typo3custom/resources/my-pubcert.pem) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/kaiser/typo3custom/common.php on line 1637
Warning: openssl_x509_read() [function.openssl-x509-read]: supplied parameter cannot be coerced into an X509 certificate! in /var/www/kaiser/typo3custom/common.php on line 1637
Warning: file_get_contents(/var/www/kaiser/typo3custom/resources/my-privkey.pem) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/kaiser/typo3custom/common.php on line 1638
I have made sure that the files are there with necessary permissions !
I am stuck here, please help me,
Thanks in advance ,
Subeesh
|
|
Rank: Starting Member
Groups: Registered
Joined: 12/31/2010 Posts: 1 Location: Switzerland
|
Hi Guys, Same problem for me with the error "openssl_x509_read() [function.openssl-x509-read]: supplied parameter cannot be coerced into an X509 certificate!". My files are readable and googling around I've read that it may come from utf8 encoded pem files, which is also not the case. I haven't found any answer to that problem yet. Anyone has a clue ? Thanks !
|