[MS4W-Users] openssl error 500

TC Haddad tchaddad at gmail.com
Wed May 4 16:51:51 EDT 2016


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/mailman/private/ms4w-users/attachments/20160504/6aee55bf/attachment.html>


More information about the MS4W-Users mailing list