[openssl-users] X509_verify() error - block type is not 01
Viktor Dukhovni
openssl-users at dukhovni.org
Mon Jun 22 02:08:07 UTC 2015
On Mon, Jun 22, 2015 at 04:12:29AM +0530, Nayna Jain wrote:
> I am trying to verify X509 certificate against two private keys such that
> atleast one of them it should match.
What do you mean by "match"? Was either key used to sign the
certificate, or is one of the keys the public key of the subject?
> X509_verify(x509, pkey) where pkey is of EVP_PKEY type
This checks whether the key signed the certificate.
--
Viktor.
More information about the openssl-users
mailing list