Re: generating cert programmatically

2002-08-02 Thread Olivier Mascia
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.

Re: generating cert programmatically

2002-08-01 Thread Dr. Stephen Henson
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 follo

Re: generating cert programmatically

2002-08-01 Thread sandor . nagy
>BW> Generating the RSA key is simple. For the cert, I am trying to follow >BW> the code in /apps/req.c as an example but it seems to be a lot of code. >BW> Is there an easier/more elegant way to do this? > >If somebody has good pointers to docs or example code of how to do this, >I would also b

Re: generating cert programmatically

2002-07-31 Thread Olivier Mascia
Hello, Brian Wotring wrote: BW> I wish to accomplish the following, programmatically within my BW> application: BW> BW> openssl genrsa -out my.key 2048 BW> openssl req -new -key my.key -out my.crt -x509 BW> BW> Generating the RSA key is simple. For the cert, I am trying to follow

generating cert programmatically

2002-07-31 Thread Brian Wotring
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