Re: Certadm.dll/CCertAdmin on Win2K?

From: David Cross [MS] (dcross_at_online.microsoft.com)
Date: 09/27/03


Date: Sat, 27 Sep 2003 07:49:20 -0700


Have you looked at CAPICOM and its methods?

There is a wealth of resources out there on CAPICOM available to you.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/Security/capicom_reference.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/Security/using_capicom.asp

-- 
David B. Cross [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
http://support.microsoft.com
"Ohaya" <ohaya@cox.net> wrote in message news:3F743531.7810EE94@cox.net...
> 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


Relevant Pages

  • Re: Certadm.dll/CCertAdmin on Win2K?
    ... e.g., list the CRLs in the CA store on my machine, delete/add CRLs in ... the CA store on my machine, etc., programmatically? ... Jim ... where can I get a copy of Certadm.dll for Win2K? ...
    (microsoft.public.platformsdk.security)
  • possibly capicom bug?
    ... I am using the store example in the redistributable ... Main program of CAPICOM Store sample. ... both version of windows! ... certificate in an English version windows. ...
    (microsoft.public.platformsdk.security)
  • Re: How import a pkcs#12 wallet into smartcard?
    ... CAPICOM deals with smartcard stores in a non-persistant way, ... > The cert/key were added into Store object, but somehow they did not get ... >> Write an ActiveX component. ...
    (microsoft.public.platformsdk.security)
  • Re: possibly capicom bug?
    ... I just tried compiling your sample and tested with CAPICOM version 2.1.0.1 ... > Dimitar, ... I am using the store example in the ... >>> both version of windows! ...
    (microsoft.public.platformsdk.security)
  • Re: cryptoAPI and CAPICO
    ... Instantiate a CAPICOM cert, cast to ICertContext: ... > Walkmühstrasse 10 ... > As capicom doesn't work with certificates on a smartcard of Deutsche Telekom ... > want sto store them in an stoe accessable by capicom. ...
    (microsoft.public.platformsdk.security)