Hi
HELP!!!!
When I just use the root ca(vsign1.pem) and do not add my public trusted ca
in the file.
The program is saying verification successful.
What does it mean.
And how will I avoid the verification of root ca. I want it to stop after
verifying my public ca.
D:\mananth\ssl\ssl_test\Debug>openssl smime -verify -CAfile vsign1.pem -in
rallen.eml -out content.txt
Verification Successful
Thanks
mahesh
-----Original Message-----
From: Dr S N Henson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 4:36 AM
To: [EMAIL PROTECTED]
Subject: Re: How to extract "conf string" from extention?
Peter 'Luna' Runestig wrote:
>
> Hi all,
>
> Programmaticly, it's easy to create an X509 extension like this:
> x = X509V3_EXT_conf_nid(NULL, NULL,
> NID_basic_constraints,"CA:TRUE,pathlen:10");
>
> Now, is there some similar, easy way to do the reverse, ie geting the
> equvivalent ``config string out from an extention
> ("CA:TRUE,pathlen:10" in this case)?
>
Unfortunately no. You can print the things out but the output is
designed to be human readable and in general it is not the same format
as the config string. The printed version is not guaranteed to remain in
the same format so parsing it is not recommended.
If you just want a machine parsable structure from an extension then you
can use X509_get_ext_d2i().
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]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]