Re: Setting x509 Certificate algorithm

2011-04-27 Thread Mike Markley
That did it! Thank you, I'm neck deep into code that I don't fully understand, I greatly appreciate the help. Mike On Wed, Apr 27, 2011 at 3:54 PM, re est wrote: > Hi, > Have you tried changing this >         if (!X509_sign(x,pk,EVP_sha1())) > to >         if (!X509_sign(x,pk,EVP_sha256())) > >

Re: Setting x509 Certificate algorithm

2011-04-27 Thread re est
Hi, Have you tried changing this if (!X509_sign(x,pk,EVP_sha1())) to if (!X509_sign(x,pk,EVP_sha256())) On Thu, Apr 28, 2011 at 4:13 AM, Mike Markley wrote: > I am creating a self signed x509 certificate using code based on the > mkcert.c sample code included in the OpenSSL d

Setting x509 Certificate algorithm

2011-04-27 Thread Mike Markley
I am creating a self signed x509 certificate using code based on the mkcert.c sample code included in the OpenSSL demo sources. I need to set the algorithm to sha256WithRSAEncryption and I cannot figure out how to do this with the APIs. I always end up with sha1WithRSAEncryption. Am I trying to do