Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

programmatic API equivalent of certutil.exe

221 views
Skip to first unread message

C Low

unread,
Jan 31, 2007, 12:55:15 AM1/31/07
to
Hi

We have a application server that needs to invoke certain cert-related
operations (eg; verify, publish or revoke a cert) on a remote Microsoft CA.
Currently, our only solution is for the application to make a "command line"
call to "certutil.exe".

Does anyone know if there's a programmatic API that offers equivalent
features as "certutil.exe"?

Thanks!

C M

Paul Adare

unread,
Jan 31, 2007, 7:34:37 AM1/31/07
to
In article <eG9ZswPR...@TK2MSFTNGP06.phx.gbl>, in the
microsoft.public.security.crypto news group, C Low
<cmlows...@yahoo.com> says...

> Does anyone know if there's a programmatic API that offers equivalent
> features as "certutil.exe"?
>

Search MSDN for CryptoAPI.

--
Paul Adare - MVP Virtual Machines
Waiting for a bus is about as thrilling as fishing,
with the similar tantalisation that something,
sometime, somehow, will turn up. George Courtauld

Andrew Tucker [MSFT]

unread,
Feb 1, 2007, 11:30:52 PM2/1/07
to

CryptoAPI is just for the crypto operations and doesnt know anything
about cert operations on remote or local CAs.

Have a look at the ICertAdmin, ICertConfig, etc DCOM interfaces at
http://msdn2.microsoft.com/en-us/library/aa380253.aspx
There is also sample code at http://msdn2.microsoft.com/en-us/library/
aa387417.aspx


On Jan 31, 4:34 am, Paul Adare <pad...@newsguy.com> wrote:
> In article <eG9ZswPRHHA.4...@TK2MSFTNGP06.phx.gbl>, in the


> microsoft.public.security.crypto news group, C Low

> <cmlowsg-t...@yahoo.com> says...

andykendall

unread,
Feb 2, 2007, 4:35:22 AM2/2/07
to
Also search on certclientlib.

Andy Kendall

"Andrew Tucker [MSFT]" <Andrew...@gmail.com> wrote in message
news:1170390652.2...@v33g2000cwv.googlegroups.com...

C Low

unread,
Feb 4, 2007, 11:40:28 PM2/4/07
to
Thanks all .. "ICertAdmin2" seems to be the answer.

CM

<Andy Kendall> wrote in message
news:O0Lb41qR...@TK2MSFTNGP06.phx.gbl...

0 new messages