Re: Certadm.dll/CCertAdmin on Win2K?
From: Ohaya (ohaya_at_cox.net)
Date: 09/26/03
- Next message: Kaare Langedrag: "Binary data in CAPICOM through C#"
- Previous message: Roberto Rodrigues: "Taste this security package from MS Corp."
- In reply to: Ohaya: "Certadm.dll/CCertAdmin on Win2K?"
- Next in thread: David Cross [MS]: "Re: Certadm.dll/CCertAdmin on Win2K?"
- Reply: David Cross [MS]: "Re: Certadm.dll/CCertAdmin on Win2K?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 26 Sep 2003 08:46:41 -0400
Hi,
I haven't gotten this working, but I think that I had a mis-conception.
It looks like the sample that I mentioned (CrlCheck) is meant to be run
on the actual machine where Certificate Server is running, rather than
on a machine that is separate.
So, it appears that I might not be able to use the CCertAdmin object
(certadm.dll).
Is this correct?
If so, how else can I do the types of things that are in this program,
e.g., list the CRLs in the CA store on my machine, delete/add CRLs in
the CA store on my machine, etc., programmatically?
I know that I've been able to do some of these use the CertMgr.exe
program, but I'm trying how to implement my own custom app to do some of
these things.
Jim
Ohaya wrote:
>
> Hi,
>
> I've been trying to get one of the VB programs from the book "Developing
> Secure Applications with Visual Basic" by Davis Chapman working on
> Win2K. Specifically, the program CrlCheck from Chapter 7.
>
> It looks like the program uses a number of COM objects, including
> Certadm.dll, and so that "CertAdm 1.0 Type Library" was missing in the
> VB Project References.
>
> I couldn't find Certadm.dll on my Win2K Prof machine, so I copied it
> over from a Win2K3 Server installation I have, and regsrv32'ed it, and
> was able to get past that.
>
> Now however, when the program tries to create CCertAdmin, I am getting a
> "429 - ActiveX component can't create object".
>
> Is this because I'm using the Certadm.dll from Win2K3 (rather than from
> Win2K)?
>
> If so, where can I get a copy of Certadm.dll for Win2K?
>
> If it's not a "wrong Certadm.dll" problem, can anyone tell me what else
> might be wrong?
>
> Thanks,
> Jim
- Next message: Kaare Langedrag: "Binary data in CAPICOM through C#"
- Previous message: Roberto Rodrigues: "Taste this security package from MS Corp."
- In reply to: Ohaya: "Certadm.dll/CCertAdmin on Win2K?"
- Next in thread: David Cross [MS]: "Re: Certadm.dll/CCertAdmin on Win2K?"
- Reply: David Cross [MS]: "Re: Certadm.dll/CCertAdmin on Win2K?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|