OpenSSL Windows 7 Help

Links for php scripts

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 1
Joined: Thu Sep 08, 2011 3:27 am

OpenSSL Windows 7 Help

Postby scarz » Thu Sep 08, 2011 3:38 am


I have set up on my laptop IIS7 on Windows 7 using PHP v5.3.8 and added the extension in the PHP.ini the OpenSSL module. So far I have had no issues but then I came to this;

openssl_public_encrypt(): key parameter is not a valid public key

using this code;

Code: Select all

$myPublicKey = openssl_pkey_get_public("requires/paypal/my-pubcert.pem");
openssl_public_encrypt($data, $crypttext, $myPublicKey);

Now I originally did my own research to try to solve this problem but have been unable to do so which is why I'm hear, My findings indicated towards the openssl.cnf which could well be the issue as I haven't indicated in any code the location of the file, but I don't know how or where I do that.

Any help is appreciated


New php-forum User
New php-forum User
Posts: 1
Joined: Fri Nov 18, 2011 9:41 pm

Re: OpenSSL Windows 7 Help

Postby ofelena » Tue Nov 22, 2011 1:14 am

How to create a windows 7 installation disk from windows 7 which is already installed? I had windows 7 on my PC preinstalled, when I bought it. Recently, my system crashed and wouldn't boot. On searching for my re-installation disk, i discovered that I had lost it. Though I recovered my system using start up recovery, I was thinking that if any greater damage would occur in near future, I would be totally helpless. So, I want to know if I can create a new installation disk from my installed windows 7.
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite

Return to “PHP Scripts”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests