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]