3

Script filling password from command line

view full story
linux-howto

http://www.unix.com – I have this command that i am calling from php (exec()): Code: openssl pkcs12 -export -in cert.pem -inkey key.pem -out cred.p12 and then i need to insert password twice Enter Export Password: Verifying - Enter Export Password: I need script that will fill the password inputs,because exec() will only do that command, but not insert password twice. Do you have any idea how should i do it? (HowTos)