-
CertOpenStore: Problem opening user certificates on a remote computer
I trying to open certificates on a remote computer using the CertOpenStore API function. I want to read the certificates held in the personal store for a particular user. My code works for Win NT, but for Windows 2000 or higher, the certificate store opens but with no certificates.
I know there are certificates in the personal certificate store for the user I looking at, as MMC shows me them all.
I found that certificates on Windows 2000 or higher get written to users home directory, rather than stored in the registry. But according to MSDN this shouldn't make a difference.
If I query the personal certificate store of the user on the machine directly I can see the certificates, but as soon as I try do it remotely the store is empty.
Is there a bug that exists when open stores remotely on Win 2000 and higher?
I have included a snippet of my code to open the store remotely
CertOpenStore(CERT_STORE_PROV_SYSTEM_A, 0,
NULL,
CERT_SYSTEM_STORE_USERS | CERT_STORE_READONLY_FLAG | CERT_STORE_OPEN_EXISTING_FLAG,
"\\\\computerName\\user_SID\\MY"))
Thanks for your help
Similar Threads
-
By Kevin48335 in forum ASP.NET
Replies: 1
Last Post: 11-30-2005, 04:03 AM
-
Replies: 5
Last Post: 08-18-2005, 01:17 PM
-
By npswarna_13 in forum ASP.NET
Replies: 0
Last Post: 06-27-2005, 06:09 AM
-
By Victor in forum ASP.NET
Replies: 1
Last Post: 08-01-2001, 12:47 AM
-
By Victor in forum ASP.NET
Replies: 0
Last Post: 02-07-2001, 11:05 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|