Re: creating an X509 certificate from a text dump - how??

2011-08-07 Thread Dr. Stephen Henson
On Sun, Aug 07, 2011, Luke Kenneth Casson Leighton wrote: > On Sun, Aug 7, 2011 at 8:29 PM, Dr. Stephen Henson wrote: > > On Sun, Aug 07, 2011, Luke Kenneth Casson Leighton wrote: > > > >> > >> * standard openssl functions which set the authority key identifier > >> seem to not allow direct setti

Re: creating an X509 certificate from a text dump - how??

2011-08-07 Thread Luke Kenneth Casson Leighton
On Sun, Aug 7, 2011 at 8:29 PM, Dr. Stephen Henson wrote: > On Sun, Aug 07, 2011, Luke Kenneth Casson Leighton wrote: > >> >> * standard openssl functions which set the authority key identifier >> seem to not allow direct setting of the keyid.  any clues on how to do >> that? >> > > You create an

Re: creating an X509 certificate from a text dump - how??

2011-08-07 Thread Dr. Stephen Henson
On Sun, Aug 07, 2011, Luke Kenneth Casson Leighton wrote: > > * standard openssl functions which set the authority key identifier > seem to not allow direct setting of the keyid. any clues on how to do > that? > You create an AUTHORITY_KEYID structure and populate it. Then you can call X509_ad

Re: creating an X509 certificate from a text dump - how??

2011-08-07 Thread Luke Kenneth Casson Leighton
On Sun, Aug 7, 2011 at 6:47 PM, Dr. Stephen Henson wrote: >> i have access to a text dump of an SSL certificate: it's in the format >> expected of the openssl x509 "-text" dump format.  i do *NOT* have >> access to the quotes original quotes x509 certificate.  therefore, it >> is necessary to rec

Re: creating an X509 certificate from a text dump - how??

2011-08-07 Thread Dr. Stephen Henson
On Sun, Aug 07, 2011, Luke Kenneth Casson Leighton wrote: > folks, hi, > > i have access to a text dump of an SSL certificate: it's in the format > expected of the openssl x509 "-text" dump format. i do *NOT* have > access to the quotes original quotes x509 certificate. therefore, it > is neces

creating an X509 certificate from a text dump - how??

2011-08-07 Thread Luke Kenneth Casson Leighton
folks, hi, i have access to a text dump of an SSL certificate: it's in the format expected of the openssl x509 "-text" dump format. i do *NOT* have access to the quotes original quotes x509 certificate. therefore, it is necessary to recreate it. does anyone have a clue as to how this can be ach

Re: Creating an X509 certificate

2006-05-09 Thread Marek Marcola
Hello > This is perfectyl working, but, how can I now assign the RSA key as a private > key > to my certificate? > Then, is the public computed automaticly ? Certificate consists public part of RSA key (n - modulus, e - publicExponent,Exponent) so if you have private key file (eg key.pem) and "

Creating an X509 certificate

2006-05-09 Thread Matthieu BONETTI
Hello, I'm trying to write a program that create a new certificate. Here is what I am doing: EVP_PKEY_new(); RSA_generate_key(); EVP_PKEY_assign_RSA(); X509_new(); /* Lots of functions to fill up the certificate details */ X509_set_pubkey(); This is perfectyl working, but, how can I now assign t

Creating an x509 certificate

2004-05-14 Thread Johnny Gonzalez
Hello I have Redhat 9, it has installed openssl-0.9.7a, but for testing OpenTSA I have to install openssl again with a patch. Then I installed openssl-0.9.7c with the opentsa patch, then for configuring opentsa I have to create a certificate including the TimeStamping extended key usage X.5