problem on using cryptoapi...

J

Jun

here goes...

i already tried adding my certificate to LOCAL_MACHINE\My and
grant private key access for ASPNET using ...

winhttpcertcfg -g -c LOCAL_MACHINE\My -s TestCert -a ASPNET

on this part of code... how come it always fails?

CertOpenStore( CERT_STORE_PROV_SYSTEM, 0, NULL,
CERT_SYSTEM_STORE_LOCAL_MACHINE, CERT_STORE_NAME))

where i have no problems in my WinForm accessing it through CURRENT_USER\My.

is there anything i missed?

any help will be appreciated :)
-jun
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,820
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top