Re: Vista Certificate Enrollment api
- From: "Haitao Li" <lht1999 [at] hotmail.com>
- Date: Tue, 6 Feb 2007 14:51:52 -0800
What error did InstallResponse return when AllowUntrustedRoot is passed in?
Are you calling the API in web script?
"Mark Mullane" <mark_mullane@xxxxxxxxxxx> wrote in message news:ufRj4qVSHHA.4188@xxxxxxxxxxxxxxxxxxxxxxx
Hi,.
I'm using the new Certificate Enrollment API in Vista to enroll certificates
(signed by a custom CA) on Vista clients, along the lines given in the SDK
Certificate Enrollment Sample.
I have successfully generated a private key and CSR , sent the CSR to the CA
and received back the response (certificate chain).
My problem comes when I attempt to use the IX509Enrollment interface to
install the received certificate chain on the client machine (in
ContextMachine) I always get error CERT_E_UNTRUSTED_ROOT (0x800b0109). This
is not surprising as the root of the certificate chain returned by the CA is
of course untrusted. However the problem is that even when I set the
InstallResponseRestrictionFlags to "AllowUntrustedRoot" it still fails!
I have verified that if I separately install the Root CA cert alone then the
returned certificate chain installs with no problem. If the Root cert is not
there initially, then it appears that the "AllowUntrustedRoot" flag is
having NO effect.
This is happening on Vista RC2 and Vista Gold.
Any ideas?
Regards..........Mark M.
- Follow-Ups:
- Re: Vista Certificate Enrollment api
- From: Mark Mullane
- Re: Vista Certificate Enrollment api
- References:
- Vista Certificate Enrollment api
- From: Mark Mullane
- Vista Certificate Enrollment api
- Prev by Date: Re: SID of remote user & LookupAccountSid
- Next by Date: Re: Smart Card Module Resource
- Previous by thread: Vista Certificate Enrollment api
- Next by thread: Re: Vista Certificate Enrollment api
- Index(es):
Relevant Pages
|
Loading