when try to run this command from PHP it show this error
Access is denied.
$ruta = "C:\OpenSSL-Win31\bin\openssl pkcs8 -inform DER -in Usuarios_XML/$rfc/$archivo.key -out Usuarios_XML/$rfc/$archivo.key.pem -passin pass:".$key;
$ejecuta = exec($ruta . ' 2>&1', $output);
print_r($output);
But when I run it directly from my server in the openssl
console it works.
I guess that I need a kind of permission but I have no idea where to change it, some idea how can achieve this?
The server is running Windows Server 2012
, I hope you can help me, thanks.