OpenSSL : One Line command solution required
Posted on 2006-05-08
I am making a SSL certificate generator software for linux, In this I will be making a Web interface to collect some basic information like
Common Name, Organization Name and when submitted IT will generate csr and than key etc..
I know how to make these certificate file through command line, but they take input from user on Command line. Is there any way I can pass these inputs without any user interaction.
I will be coding this part in PERL running as root so no issue of other things comes in between , Just need to know the method so that I can user OpenSSL in one line
openssl req -new ... -CN MYname -O My org
somethign like this or may be passing entries through Text file.
Please Let me know exact working command for this.....
Thanks & Regards,