[MS4W-Users] openssl error 500

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed May 4 17:26:57 EDT 2016


Hello José,

I believe you are trying to use a PHP script with OpenSSL functions; 
another MS4W user reported this issue on Trac, requesting to add PHP 
support for OpenSSL at http://www.ms4w.com/trac/ticket/53

You can add yourself to the CC of that ticket to follow along, test, 
and, if you can provide funding to help make this enhancement happen 
please contact me directly.

Likely this will have to be tackled in the MS4W 4.0 release (where a lot 
of PHP changes will happen in MS4W, possibly upgrading to PHP 7).

Thanks for using MS4W.

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-05-04 5:25 PM, jvenegasperu . via MS4W-Users 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
>




More information about the MS4W-Users mailing list