hi!

I'm in trouble to use X509_verify and X509_CRL_verify function.
i create a certificate,then sign it and verify it. Sometimes I would get
verify failure when I repeat that.
i checked the public key and the private key were both correct.
the error strings:

error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not
01:.\crypto\rsa\rsa_pk1.c:100:

error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check
failed:.\crypto\rsa\rsa_eay.c:721:

error:0D0C5006:asn1 encoding routines:ASN1_item_verify:EVP
lib:.\crypto\asn1\a_verify.c:215:
the X509_CRL_verify is sames error.

openssl version:openssl-1.0.1c

Who can tell me what's wrong?

thanks very much! 

Wubin Cheng



--
View this message in context: 
http://openssl.6102.n7.nabble.com/error-0407006A-rsa-routines-RSA-padding-check-PKCS1-type-1-block-type-is-not-01-tp47462.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to