certutil -addstore -f -user -v Personal c:\%username%.cer
and it imported the cert but instead of miporting it into the existing
default Personal store is created a new one and put the cert in the new one.
Anyone help on that?
--
Stroud
------------------------------------------------------------------------
Stroud's Profile: http://forums.techarena.in/members/76819.htm
View this thread: http://forums.techarena.in/microsoft-security/1355247.htm
C:\>certutil -repairstore -user Personal c:\%username%.cer
402.203.0: 0x80070057 (WIN32: 87): ..CertCli Version
313.1460.0: 0x80090011 (-2146893807)
313.1765.0: 0x80090011 (-2146893807)
313.3158.0: 0x80090011 (-2146893807)
CertUtil: -repairstore command FAILED: 0x80090011 (-2146893807)
CertUtil: Object was not found.
301.3128.0: 0x80090011 (-2146893807)
> If you wanted to import certificates into an existing store then you
> should have use "repairstore" instead of "addstore". "repairstore" will
> let you update it in your existing store.
Sorry but this is simply wrong. The repairstore option allows you to
reassociate a private key with a certificate but the certificate in
question has to already exist in the store in question. It is not the
correct option for importing a certificate into a store.
--
Paul Adare
MVP - Identity Lifecycle Manager
http://www.identit.ca
You're using the wrong store name. While the UI presents as Personal, the
actual store name is My.
"Paul Adare" wrote:
> .
>
Before I spend time mucking around I figured you might knwo the answer to
this related question. SO far i've been using the certutil -addsotre command
to bring in a cert that exists already on the machiens local C drive.
I wanted to maybe do it in 2 steps and the first step is my new problem. I
want to, if possible, export a cert called %username%.cer from the Active
Directory User Object Store to the local disk c:\
Then I will be using the addstore command to bring it into the Peronal Site
which you have helped me with. Do you know a quick command to export the
cert from the Active Directory User Object Store?
Thanks
"Paul Adare" wrote:
> .
>
> Before I spend time mucking around I figured you might knwo the answer to
> this related question. SO far i've been using the certutil -addsotre command
> to bring in a cert that exists already on the machiens local C drive.
>
> I wanted to maybe do it in 2 steps and the first step is my new problem. I
> want to, if possible, export a cert called %username%.cer from the Active
> Directory User Object Store to the local disk c:\
>
> Then I will be using the addstore command to bring it into the Peronal Site
> which you have helped me with. Do you know a quick command to export the
> cert from the Active Directory User Object Store?
I think we should probably back up a step first. Why are you trying to do
this in the first place? Can you describe the business/technology need that
requires you to export a cert from AD and import it into the local store?
The reason I ask is that if I understand the environment/situation a little
better, there may well be a better solution to the problem you're trying to
solve.
THe cert template has the publish to AD option ticked, is this setting
stopping it from being installed to the local Personal Store or is there
somethign else?
"Paul Adare" wrote:
> .
>
> The reason I ask is that if I understand the environment/situation a little
> better, there may well be a better solution to the problem you're trying to
> solve.
>
I note that there are *still* no clients listed here!
http://www.identit.ca/clients.html
Why *is* that?
"Paul Adare" wrote:
> .
>