How do you use certmgr to add a certificate to trusted publishers in Excel?

I tried:

certmgrs /add myCert.cer /s /r localMachine root 

I tried several options, for example: localMachine trustedPublishers

Each time I try to do this on the command line, it just loads the certmgr utility window. I do not see a call to this command line to do anything.

+4
source share
2 answers

The best way to do this on the command line:

 certutil -addstore "TrustedPublisher" certificate.cer 

Another answer here will not work in my situation. I had to add through the command line.

+9
source

Please take a look at the following article to get started. It shows you how to create your own digital certificates in MS office 2010.

You can do more searches to learn how to add a digital certificate in Excel 2003, 2007 (but not my preference for edition).

0
source

Source: https://habr.com/ru/post/1443300/


All Articles