Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use certmgr to add a certificate to Trusted Publishers in Excel?

I have tried:

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

I have tried several variations on that like: localMachine trustedPublishers

Everytime I try this on the command line it just loads the certmgr Utility Window. I can't see this command line call doing anything.

like image 394
B-Rad Avatar asked Oct 31 '12 18:10

B-Rad


1 Answers

Best way to do this on the command line is as follows:

certutil -addstore "TrustedPublisher" certificate.cer

The other answer here won't work in my situation. I had to add via command line.

like image 168
B-Rad Avatar answered Oct 23 '22 21:10

B-Rad