X509_verify() error - block type is not 01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to verify X509 certificate against two private keys such that
atleast one of them it should match.
I used the API as

X509_verify(x509, pkey) where pkey is of EVP_PKEY type

However, for one of the private key it is failing with error "block type is
not 01"    // And this key is supposed to be matching the certificate.

and for other key it is failing with error "padding check failed"

Can someone help me to understand these errors and how to fix, even though
when I know the key with "block type error" does matches the certificate.


Thanks & Regards,
Nayna Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150622/f7c88ff8/attachment-0001.html>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux