Re: subjectAltName extension of type dNSName

2006-06-09 Thread david kine
Thank you very much!   -DavidVictor Duchovni <[EMAIL PROTECTED]> wrote: On Fri, Jun 09, 2006 at 12:25:52AM +0200, Goetz Babin-Ebell wrote:> -BEGIN PGP SIGNED MESSAGE-> Hash: SHA1> > david kine schrieb:> Hello David,> > > One more question: how do I, using the CA.pl script, generate a> >

Re: subjectAltName extension of type dNSName

2006-06-08 Thread Victor Duchovni
On Fri, Jun 09, 2006 at 12:25:52AM +0200, Goetz Babin-Ebell wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > david kine schrieb: > Hello David, > > > One more question: how do I, using the CA.pl script, generate a > > certificate with a subjectAltName extension of type dNSName? The

Re: subjectAltName extension of type dNSName

2006-06-08 Thread Goetz Babin-Ebell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 david kine schrieb: Hello David, > One more question: how do I, using the CA.pl script, generate a > certificate with a subjectAltName extension of type dNSName? The ones I > have already generated do not have this field set. > I suppose there is a

Re: subjectAltName extension of type dNSName

2006-06-08 Thread david kine
Hello Victor,   Thank you very much, the code you provide is extremely useful!   One more question:  how do I, using the CA.pl script, generate a certificate with a subjectAltName extension of type dNSName?  The ones I have already generated do not have this field set.   I suppose there is an

Re: subjectAltName extension of type dNSName

2006-06-08 Thread Victor Duchovni
On Thu, Jun 08, 2006 at 11:40:04AM -0700, david kine wrote: > My code to retrieve the common name from the subject field is: > X509 *cert = [code not shown] > char pName[ 256 ]; > X509_NAME *subj; > subj = X509_get_subject_name( cert ); > X509_NAME_get_text_by_NID( subj, NID_commonNa