On 11/30/2011 01:11 AM, Peter wrote:
I wrote a shell script
Please would you show it?
AFAIK, if Bash can do it, PHP should also...
Thanks.
--
RMA.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
passin and passout are not userd during "-revoke"
They are used to give parameters to create the certificate and give it the
above parameters.
But,
I think i managed to bypass the problem. I wrote a shell script using
expect, after 30 minutes of fighting, script does what I want it to. It
takes a
Did you try -passin, -passout options of openssl command?
See the man page here http://linux.die.net/man/1/openssl
Specially the "Pass phrase arguments" section.
--
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader
Unfortunately, this method doesnt work.
I algo tried working with pipes:
#!/usr/bin/php -q
array("pipe", "r"),
1 => array("pipe", "w"),
);
$proc = "openssl ca -keyfile ca.key -cert ca.pem -revoke ".$userId.".pem";
// open process with bidirectional interaction
$process = proc_open($pro
On Tue, Nov 29, 2011 at 8:21 AM, asdf zxcv wrote:
> I'm trying to make my php script (run from console) to input nesesary data
> when console asks for it.
>
> For example, i want to automatically manage revoking self-signed
> certificates, but when i exec("command") then system asks me to give th
I'm trying to make my php script (run from console) to input nesesary data
when console asks for it.
For example, i want to automatically manage revoking self-signed
certificates, but when i exec("command") then system asks me to give the
pass phrase. I dont want to do that. Instead, I want my scr
6 matches
Mail list logo