CAPICOM: how to check root certificate validity and existence?
From: AL (alberto.velo_at_gruppoih.it)
Date: 11/22/04
- Next message: Kevin Burton: "RE: Creating a directory with security attributes."
- Previous message: S R Tripathy: "certificates and ASP.NET"
- Next in thread: lelteto: "RE: CAPICOM: how to check root certificate validity and existence?"
- Reply: lelteto: "RE: CAPICOM: how to check root certificate validity and existence?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 22 Nov 2004 14:19:41 +0100
Hello,
I'm trying to verify the validity of a Root Certificate, which almost
works unless... the CA does not more exist!
I mean, if I have a valid Root cert in my trusted root store, I always
get an answer it is valid from the following code (VB 6):
rootCert.IsValid.CheckFlag = CAPICOM_CHECK_ONLINE_ALL Or
CAPICOM_CHECK_TRUSTED_ROOT
If rootCert.IsValid.Result Then
.....
' always get true here
else
...
end if
The strange thing is I get an ok even if the CA does not exist anymore,
or it is not reachable by the client doing the above verification.
Is there a way to get a false answer by that check, when the CA is not
available or it is not reachable?
Thank you,
AL.
- Next message: Kevin Burton: "RE: Creating a directory with security attributes."
- Previous message: S R Tripathy: "certificates and ASP.NET"
- Next in thread: lelteto: "RE: CAPICOM: how to check root certificate validity and existence?"
- Reply: lelteto: "RE: CAPICOM: how to check root certificate validity and existence?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|