Hi,

I'm trying to find a way to make my PHP scipt capable of automatic
certificate revocation.

The script is run from console and the line looks like this:
exec("openssl ca -keyfile ca.key -cert ca.pem -revoke ".$userId.".pem");

which works like this:
openssl ca -keyfile ca.key -cert ca.pem -revoke 04.pem

It generally works, but after the command above is sent, i have to type in
pass phrase manually. I need it to be done automatically. Is there any way
to achieve this? I looked through manual but didn't find any information on
how and if this could be done.

Regards,
Peter

Reply via email to