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

18,569

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.

Share:
18,569
B-Rad
Author by

B-Rad

Updated on June 22, 2022

Comments

  • B-Rad
    B-Rad almost 2 years

    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.