• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

OpenSSL : One Line command solution required

Hello,

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

like

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,
VIkasumit
0
VIkasumit
Asked:
VIkasumit
1 Solution
 
schalcraftCommented:
If you have alook at section 6 of the OpenSSL cookbook it includes the cgi scripts that you can use to gnerate the certificate.

http://www.pseudonym.org/ssl/ssl_cook.html#openssl
0
 
VIkasumitAuthor Commented:
Hi,

Thanks your link gives me what I need  :o)

VIkasumit
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now