[MS4W-Users] openssl error 500

jvenegasperu . jvenegasperu at gmail.com
Wed May 4 17:06:22 EDT 2016


That's the strange

no clues

only this

[Wed May 04 11: 43: 47.240092 2016] [cgi error] [pid 1580: tid 844] [client
127.0.0.1:49697] End of script output headers before: php-cgi.exe

2016-05-04 15:51 GMT-05:00 TC Haddad <tchaddad at gmail.com>:

> Hi José,
>
> Is there something in the Apache error log that gives more detail about
> the error?
>
> Tanya
>
> On Wed, May 4, 2016 at 1:25 PM, jvenegasperu . via MS4W-Users <
> ms4w-users at lists.ms4w.com> wrote:
>
>> Hello everyone
>>
>> I need to work with signed digital certificate data
>>
>> when I run these lines
>>
>> $Key = dirname (__ FILE __) '/ certs / keySedalibProd.pem';
>> $Fp = fopen ($key, "r");
>> $Priv_key = fread ($fp, 8192);
>> fclose ($fp);
>>
>>
>> $Pkeyid = openssl_get_privatekey ($key);
>> openssl_sign ('hello', $cadenafirmada, $pkeyid, OPENSSL_ALGO_SHA1);
>> $Stamp = base64_encode ($cadenafirmada);
>>
>> echo $ stamp;
>>
>> when you run this line
>>
>> openssl_sign ('hello', $ cadenafirmada, $ pkeyid, OPENSSL_ALGO_SHA1);
>>
>> the server returns Error 500
>>
>> someone could indicate how I can use openssl with MS4W?
>> --
>> José Mercedes Venegas Acevedo
>> cel Mov RPC 964185205
>>
>> skype jvenegasperu
>> facebook jvenegasperu
>> <jvenegasperu at gmail.com>
>>
>> _______________________________________________
>> MS4W-Users mailing list
>> MS4W-Users at lists.ms4w.com
>> http://lists.ms4w.com/mailman/listinfo/ms4w-users
>>
>
>


-- 
José Mercedes Venegas Acevedo
cel Mov RPC 964185205

skype jvenegasperu
facebook jvenegasperu
<jvenegasperu at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/mailman/private/ms4w-users/attachments/20160504/a3d4f37e/attachment.html>


More information about the MS4W-Users mailing list