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 <re.est1...@gmail.com> wrote:
> 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
>
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to