Dr. Stephen Shoot! Im not running unix, (win32) so I cant read the manpages! Any chance of dumping that page for me??
I Would greatly appreciate it... Thanks. Pj. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dr. Stephen Henson Sent: Saturday, 28 December 2002 8:55 PM To: [EMAIL PROTECTED] Subject: Re: Weird input :-( on Certificate Generation On Sat, Dec 28, 2002, Pj wrote: > > I want to automate self signed certificate generation > For my customers, so that my software detects expiration of the > Certificate and runs the appropriate commands to generate the new > cert. > > > Like this: > > openssl genrsa -rand .rnd -out key.pem 1024 > openssl req -new -key key.pem -out cert.pem -x509 -config > openssl.cnf << theData.txt > > theData.txt would contain lines to feed stdin ( req.c contains > fgets(buf,1024,stdin) ) > However the openssl.exe comes up with "weird input :-(" whenever I try > this, due to a missing "\n" In the data, even though each line in > theData.txt ends in hex 0D0A .... > > This is a little confusing, so before I hack req.c, does anyone have a > suggestion about this, Maybe someone has done this already and knows > of the "black art" I am missing.! > > Alternately is there a way of putting the data into the openssl.cnf > file, so that no prompts from Stdin need to take place at all? > Yes, its in the fine manual for req... Steve. -- Dr. Stephen Henson [EMAIL PROTECTED] OpenSSL Project http://www.openssl.org/~steve/ ______________________________________________________________________ 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]