Julien Guisset wrote:
> 
> Hi
> I am trying to use Certificates for a personnal application.
> I have some problems with X509_sign() and X509_verify().
> 
> I am trying to sign a client CA with :
> 
> X509_sign(certif, SERVER_private_key, EVP_md5()));
> 
> and then verify it with
> 
> X509_verify(certif, SERVER_public_key);
> 
> but X509_verify returns -1 with good and wrong CA.
> It is the same when I try X509_verify(certif, SERVER_private_key);
> 
> Can you help me...
> 

Read the FAQ. Both issues are covered: how to get more info when a
function fails and when you read the result another FAQ explains the
cause of your problem.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to