On Wed, Jul 31, 2002, Brian Wotring wrote: > > I wish to accomplish the following, programmatically within my > application: > > openssl genrsa -out my.key 2048 > openssl req -new -key my.key -out my.crt -x509 > > Generating the RSA key is simple. For the cert, I am trying to follow > the code in /apps/req.c as an example but it seems to be a lot of code. > Is there an easier/more elegant way to do this? >
Check out demos/x509/mkcert.c 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]