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 <m...@buddytv.com> wrote: > 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 the impossible here? > > Thanks, > Mike > m...@buddytv.com > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >