Sep 07 2020 07:03 AM
I face difficulties when I want to sign an Excel vba project. The error "A problem occured with the digital certificate. The VBA-project can't be provided by a digital signature. The signature is being removed".
We are using an USB key of DigiCert (EV code signing with SHA2 encryption) and signing works correctly for exe's and dll's. Everything looks okay from DigiCert point of view.
The error does occur when I want to save the Excel file.
I can sign without problems when it is a self issued certificate.
Some time ago this was working well.
Dec 23 2020 08:22 AM
@BernardW Did you ever find a solution to this issue - I am experiencing this issue on a newly purchased Digicert EV token. Thank you
Sep 12 2022 09:16 AM
Sep 12 2022 09:18 AM
Sep 12 2022 10:38 AM
@yasensimeonov Digicert sent us an older version of the SafeNet software - version 10.8.2154.0
This version does work when signing VBA macros. Anyone at our firm with a newer version cannot sign macros.
Sep 12 2022 10:48 AM
@Anna-Lawgic This (10.8.2154.0) is the default version of the SafeNet Authentication client that DigiCert asked us to install when we received and initiated the token. Yet it still does not work with signing Excel VBA projects/macros for us:
Sep 12 2022 11:09 AM
Sep 13 2022 12:38 AM
@Anna-Lawgic Thank you! I will keep this version, but abstain from installing it (for now) until I get a response from DigiCert support. Version 10.0 seems a bit too old for me, I remember we were able to sign VBA with a more recent version like 10.5 (or newer) pre-May 2022.
Actually found this version history/release log of SafeNet Authentication Client: https://data-protection-updates.gemalto.com/category/safenet-authentication-client/
According to that, the two previous Windows releases are:
1) 10.8 R5 (July 2021): https://data-protection-updates.gemalto.com/2021/07/01/sac-10-8-r5-for-windows-sac-low-level-sdk-1-6...
2) 10.8 R2 (July 2020): https://data-protection-updates.gemalto.com/2020/07/30/safenet-authentication-client-sac-10-8-r2-for...
Hopefully DigiCert support can point us to the most recent VBA-compatible/signable version, so that we don't miss out on other purposes we use the EV cert for - like .exe/.dll/.msi installer signing.
Sep 13 2022 05:44 AM
Oct 31 2022 10:44 AM
@Anna-Lawgic , finally solved this. Turns out we can actually use the latest version (10.8 R6) of the SafeNet Auth Client software AND sign Excel/Office VBA, we just need to add one Windows Registry key and value.
Finally found some spare time to summarize my findings in a post on StackOverflow, you can find it here: https://stackoverflow.com/a/74267125/9535720
Oct 31 2022 11:23 AM
We finaly solved this by re installing Windows and review the place of the sign server in the network. Many thanks for all the reply.