Hi,
Hodie Kal. Sep. MMVIII est, Madhusudhan reddy scripsit:
> Thanks for the reply. What i mean here is while loading X509
> V1 certificate using the API "PEM_read_bio_X509_AUX(), the verisn filed
> itself is null, not the value. Pls check the attached .jpg for the screen
> shot.
The version field is defined as:
version [0] EXPLICIT Version DEFAULT v1
The Version type is defined as:
Version ::= INTEGER { v1(0), v2(1), v3(2) }
DEFAULT implies OPTIONAL, and if this field is absent, then it has to
be considered a version 1 certificate.
I saved your certificate (a VeriSign one, it seems) to a file, and
checked its signature:
openssl verify -CAfile rootv1.pem rootv1.pem
which replied "Ok".
Do you have a better example of a "bad" certificate?
--
Erwann ABALEA <[EMAIL PROTECTED]>
-----
I can't be stupid, I completed third grade!
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]