RE: Certificate Store access problem
From: Don Sherwood (dsherwood@integrateddocuments.com)
Date: 08/09/02
- Next message: Cas Irvin [MS]: "RE: Error 781....How do I validate a certificate?"
- Previous message: Michel: "Access localhost in netscape 6.2.3 fails"
- In reply to: Cas Irvin [MS]: "RE: Certificate Store access problem"
- Next in thread: Stefan Schachner[MS]: "RE: Certificate Store access problem"
- Reply: Stefan Schachner[MS]: "RE: Certificate Store access problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Don Sherwood" <dsherwood@integrateddocuments.com> Date: Fri, 9 Aug 2002 07:23:31 -0700
Cas,
Good questions. I guess I wasn't very specific in my
original post. You asked:
>How is your service accessing the certificate?
It's using a third-party (Mabry) COM object, and
specifying "LOCAL_MACHINE\MY\Client Certificate Name" as
the certificate name. In the certificate manager, the
certificate appears in the local computer's "Personal"
certificate store, which is LOCAL_MACHINE\MY, the same
store that our website's SSL certificate is in. Since
it is in the computer account, not a user account, I
assumed it would be visible to services, like IIS. IIS
runs in the "local system" user context, and the web
service uses the IUSR_MachineName account for anonymous
access.
>Also, can you provide more detail about the error you're
seeing?
When our clients make a request from our web service, it
in turn requests information from another web service
using this client certificate for authentication, and
then returns the results to the original requestor. When
my code attempts to connect (calling the "GET" method of
the Mabry control), it fails reporting "Certificate Store
Not Found". The same code, when run as an application in
the context of the logged on user, works correctly, so it
appears to be a permissions issue.
If it helps, the LOCAL_MACHINE\MY store is a registry
store. The binary data for the certificate is in the
registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\M
y\Certificates\B3D43A9E9FD15D97B68A6FEBCCEC74AAF60614ED
in a binary value called "Blob".
Any help would be greatly appreciated.
- Next message: Cas Irvin [MS]: "RE: Error 781....How do I validate a certificate?"
- Previous message: Michel: "Access localhost in netscape 6.2.3 fails"
- In reply to: Cas Irvin [MS]: "RE: Certificate Store access problem"
- Next in thread: Stefan Schachner[MS]: "RE: Certificate Store access problem"
- Reply: Stefan Schachner[MS]: "RE: Certificate Store access problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|