I am trying to automate the creation of self signed ssl certificate using openssl with following command.
Code: Select all
openssl req -config openssl.cfg -new -out test.csr -keyout test.pem
when I run this in command prompt it asks for various inputs like country name, state etc. My requirement is to send these values from a test file without asking the end user.
Please let me know if it is possible using batch script\vb script. Well I surely know we can do it with autoit but it would be my last option.
Thanks,
Manoj
PS: Never mind I found a solution with vbscript. Anyways it would be great if someone can come up with a batch script.