Dear friends, thanx a lot for the help. I am doing this way. A shell script to accept values for each attribute and put these in a info.inf file. Then do this : openssl req -new -key prikey.pem -out req.csr < info.inf
thanx again. sarath -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Aleix Conchillo Sent: Tuesday, April 02, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: Re: create cert non interactively On Tue, 2002-04-02 at 11:50, Sarath Chandra M wrote: > Hi, > Is there way to create certificates using openssl in a noninteractive > mode ? All the required values (common name, email, organization, ou > etc) will be captured using a unix shell script > and passed to openssl commands. > Is it possible. Any help will be highly appreciated. > i do it this way. there is probably a better one: openssl req -new -key prikey.pem -out req.csr < info_file where info_file is a generated file (in this case with your shell script) and looks like this: ------ ES Your state Your city Your organization Your organizational unit Your name ------ if you don't want to fill any of the fields just leave a blank line. hope this helps. best regards, -- Aleix Conchillo Flaqué http://www.scytl.com ----------------------------------------------------------- PGP Key: http://www.scytl.com/pgp-keys/AleixConchillo.asc ----------------------------------------------------------- ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]