Hello, Dr. Stephen Henson wrote (Thu, 1 Aug 2002 19:41:23 +0200):
> 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 I suppose I will then have to upgrade to 0.9.7 beta so ? I checked the tree of 0.9.6 which I use for production now and I have no x506 subdir in demos. -- Olivier Mascia <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]