Re: Importing Certificate to respective store.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Are you asking how to check if a cert in a PFX has a private key assoicated
with it? Or how to add a cert to a different store?

--
Scott Yost
Software Development Engineer/Test
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

"Sunil Jois" <SunilJois@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D581BAA-E869-4A12-B150-4CBF2038BA2A@xxxxxxxxxxxxxxxx
Hi,
I am able add certificate on to store on the device from my
application.But
on the device, when importing, if the cert has an associated private key,
it
should to go into the Personal Store. If the cert doesn't have a private
key,
it goes to the Intermediate store.
Currently i am able add all the certs only to the personal store.So after
enumerating the certificates,before adding i want to check if the
certificate
has a associated private key,if so i want to add that to persoanle store
else
to intermediate store.

Thank in advance!




.



Relevant Pages

  • Re: X509 Certificate Help
    ... The Cert is in Personal Store and the Web Service is running under Domain ... Administrator account also the cert accessable to ASPNET Account and Domain ... I work with Signing ... >>Error is Private Key not available. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Alternative store vs. MY store
    ... I don't think copying the cert to ... the private key to leave my alternative physical store--which is a USB flash ... store both the client cert and its associate private key on my USB memory ... article "The Smart Card Cryptographics Service Provider Cookbook" which has ...
    (microsoft.public.platformsdk.security)
  • Re: Alternative store vs. MY store
    ... store both the client cert and its associate private key on my USB memory ... your codes (CSP, ... indirect call to your CSP when one of your cert is involved in an operation. ...
    (microsoft.public.platformsdk.security)
  • Re: Alternative store vs. MY store
    ... >> keep the private key on the memory card all the time. ... > must so start to copy your certs to the store, ... > indirect call to your CSP when one of your cert is involved in an operation. ...
    (microsoft.public.platformsdk.security)
  • Re: Private & Public Key storage location
    ... with that you complete the 'certificate' to have both public and private key ... To view the complete cert, you access the cert mmc, ... its end & send only the public key to the CA along with the other websites ... The CA never know the private key of the website. ...
    (microsoft.public.inetserver.iis.security)