Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Issue when importing certificate by commandline

$
0
0

Hi guys,

Trying to import a certificate on my Windows 8.1 Enterprise computer by commandline. My command works fine for my Win7 computers, but I have major issues getting this to work in Windows 8.1

I have a folder, containing my cmd, a certificate issued from our CA and certmgr.exe.

The command I use (which works on Win7) is:

certmgr.exe -add certificate.cer -s -r localMachine root

This should be pretty straightforward, but not matter which certificate store I try to import my certificate to, I get the error:

Error: Failed to save to the destination store

I'm running the cmd as admin, and have disabled UAC.

Any ideas? I'd really like to get this working!

Thanks!


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>