View Single Post
 
Old 12-15-2022, 12:48 AM
harry harry is offline Windows 10 Office 2019
Advanced Beginner
 
Join Date: Jul 2010
Posts: 31
harry is on a distinguished road
Default

Thanks for yor reply; however, it appears something is not working as it should or I am doing something wrong.

As a double-check, I deleted my existing certificate from both the personal and trusted stores, then repeated the whole procedure from scratch, but the result was the same as before. Here is what I did.

- Create certificate "MyName" using selfcert.exe.
- Export certificate "MyName" from personal store to .cer file.
- Import certificate "MyName" from .cer file to trusted store.

- Go to Outlook > Developer > Visual Basic > Tools > Digital Signature > Sign As; click on Choose button. At this point, the certificate I created is displayed (there is no option to specify a store or certificate; the one I created is displayed automatically), and when I click on the link "Click here to view certificate properties", it appears to be the trusted one ("This certificate is intended for the following purposes. - Ensures software came from software publisher ... ", etc.).

- Click on OK. It then says "The VBA project is currently signed as Certificate Name: MyName"

- Go to Outlook > Developer > Macro Security and select option "Notifications for digitally signed macros, all other macros disabled."

- Click on OK, close VBA, close Outlook, click on "Yes" when prompted to save VBA project.

- Re-open Outlook.

- Go to Outlook > Developer > Visual Basic > Tools > Digital Signature. It says "The VBA project is currently signed as Certificate Name: [No certificate]", and macros will not run (it says "The macros in this project are disabled.")

----------
It appears the certificate selection is not being saved when closing Outlook or not loaded when re-opening Outlook?

How can I fix this?
Reply With Quote