Quantcast
Viewing all articles
Browse latest Browse all 40

How can I sign an MS Word macro with a digital certificate from the local machine certificate store?

I am trying to find out how I can digitally sign a Microsoft Word macro using a valid 3rd party CA issued VBA code-signing certificate that is installed into the machine rather than the user certificate store.

This signing certificate will be used by many different people. I would like anyone who has access to the machine to be able to use it.

I am using the Digital Signature option in the VBA editor (Alt+F11 > Tools > Digital Signature) to perform the signing process. Unless the certificate is installed into the user certificate store there are no 'Sign as' certificates are available, 'Choose...' shows a warning that 'No certificate available'.

If I move the certificate from the Local Computer > Personal store to the Current User > Personal store then it becomes available for selection.

Can the local machine store be used with MS Word VBA code-signing? I believe that this configuration is possible when signing installers using Visual Studio.


Viewing all articles
Browse latest Browse all 40

Trending Articles