how can i get a certificate's root certificate ?



for example:
i have a certificate issued by "Thawte Personal Freemail Issuing CA"
but "Thawte Personal Freemail Issuing CA" is issued by "Thawte Personal
Freemail CA"

it can be show as :

Thawte Personal Freemail CA
|
---------------Thawte Personal Freemail Issuing CA
|
_______________________Thawte Freemail
member


here is my question:
how can i export "Thawte Personal Freemail CA" 's certificate

now i can only export "Thawte Freemail member"'s certificate,
because i know the user's email ,so i can use email to findout it's
certificate


if ( !( hCertStore = CertSystemStore(
L"AddressBook")))
{... }

// Get the certificate for the signer.
if(!(pSignerCertContext = CertFindCertificateInStore(
hCertStore,
MY_TYPE,
0,
CERT_FIND_SUBJECT_STR,
"user@xxxxxxxxx",
NULL)))
{
...
}


but i don't know anything about the root certificate

is there any api i can refer to ?


thank you.


.



Relevant Pages

  • Re: how can i get a certificates root certificate ?
    ... i have a certificate issued by "Thawte Personal Freemail Issuing CA" ... but "Thawte Personal Freemail Issuing CA" is issued by "Thawte Personal ... if(!(pSignerCertContext = CertFindCertificateInStore( ...
    (microsoft.public.platformsdk.security)
  • Re: how can i get a certificates root certificate ?
    ... i don't know any infomation of the root CA - Thawte Personal Freemail CA - ... in this case how can i get the root CA's certificate? ...
    (microsoft.public.platformsdk.security)
  • Re: X.509 cert not exporting CA chain?
    ... CN=Thawte Personal Freemail Issuing CA, O=Thawte Consulting Ltd., ... Might be, but this is not the certificate used by Tomcat, as the subject as well as the issuer shown by the openssl client are different from the values shown by keytool. ...
    (comp.lang.java.programmer)
  • Re: Thawte certificates
    ... The Intermediate CA certificate should not be distributed by Microsoft. ... for which the Thawte Personal Freemail Issuing CA ... Only root CA ...
    (microsoft.public.platformsdk.security)