Re: Vista Certificate Enrollment api
- From: "Haitao Li" <lht1999 [at] hotmail.com>
- Date: Fri, 9 Feb 2007 16:47:12 -0800
Please follow these instructions to collect a log file. The log is a text file which contains information about failure codes from various function calls, and names of templates, CAs and CSPs.
certutil -setreg Enroll\debug 0xffffffe3
restart the enrolling process and repro the failure
certutil -delreg Enroll\debug
Provide the log file in %windir%\certenroll.log or %userprofile%\certenroll.log
"Mark Mullane" <mark_mullane@xxxxxxxxxxx> wrote in message news:#6eUEwqSHHA.1600@xxxxxxxxxxxxxxxxxxxxxxx
Hi:.
The error is still CERT_E_UNTRUSTED_ROOT, (even when "AllowUntrustedRoot" is specified.)
I am calling this from within a Windows service.
Thanks in advance.
Mark M.
"Haitao Li" <lht1999 [at] hotmail.com> wrote in message news:34D89F93-C430-469A-9FCF-AAD7040409A5@xxxxxxxxxxxxxxxxWhat 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@xxxxxxxxxxxxxxxxxxxxxxxHi,
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
- Re: Vista Certificate Enrollment api
- From: Haitao Li
- Re: Vista Certificate Enrollment api
- From: Mark Mullane
- Vista Certificate Enrollment api
- Prev by Date: RE: XP themes problem in Winlogon
- Next by Date: Re: remote user SID & ConvertStringSecurityDescriptorToSecurityDes
- Previous by thread: Re: Vista Certificate Enrollment api
- Next by thread: Re: Vista Certificate Enrollment api
- Index(es):
Relevant Pages
|
|