logo
search
Security Policy Errors

How to Fix Access Pack and Sign SHA1withRSA Certificate Errors

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user needs to resolve a failure that occurs when signing an Access database package with a DigiCert HSM KeyLocker code-signing certificate.

Product
Microsoft Access
Device & OS
not provided
Scenario
Attempting to sign a Microsoft Access database package using a modern SHA-384 or SHA-512 code-signing certificate.
Observed behavior
VBA code signs successfully, but the Access package signing fails because the system incorrectly requests the unsupported and deprecated SHA1withRSA algorithm.
Before you start

Ensure you have administrative privileges on your computer and a backup of your Access database before attempting to change its file format or update your development signing tools.

Solution 1Recommended

Update Your Code Signing Tool to the Latest Version

Use this solution if you are signing the package via command-line tools, as older versions have a known bug that defaults to SHA-1 when encountering non-SHA-256 certificates.

Older versions of signing tools (such as mage.exe or smctl.exe) often contain a bug that defaults the hashing algorithm to 'sha1RSA' if the certificate utilizes anything other than standard SHA-256 (like SHA-384 or SHA-512). Updating the tool ensures correct SHA-2 algorithm compatibility.

1
Check current tool version

Open your development environment (such as Visual Studio 2022) or terminal and check the current version of the signing tool you are using (e.g., mage.exe).

2
Update Visual Studio

If you use Visual Studio, open the Visual Studio Installer and click 'Update' to install the latest patches, which include an updated version of mage.exe.

3
Install via Dotnet CLI

Alternatively, open your command prompt and run the 'dotnet tool install' command to manually fetch and install the absolute latest version of your specific signing tool.

4
Reattempt signing

Run your signing script or tool again, ensuring you explicitly set the configuration to a supported SHA-256 (or higher) signing parameter if available.

Free Microsoft Office alternative

Looking for a Lightweight, Hassle-Free Office Suite?

While Microsoft Access database certificate errors require specific developer tool updates, standard document creation shouldn't be complicated. WPS Office is a free, lightweight, and incredibly intuitive alternative to Microsoft Office. It covers all your Word, Excel, and PowerPoint needs without the heavy resource usage.

Highly compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Free and lightweight alternative to bulky Office installationsFamiliar user interface for a seamless migrationBuilt-in PDF editing and comprehensive document management
microsoft office alternative - wps office

Frequently Asked Questions

Why does my DigiCert certificate work for VBA but fail for the Access package?

VBA code signing and Access package signing use two different underlying mechanisms. While the VBA signing module properly handles SHA-256 and higher algorithms, the older Access packaging tool or database format may inherently default to the deprecated SHA1withRSA algorithm.

Can I use SHA-384 or SHA-512 certificates to sign an Access 2007 database?

Generally, no. Older database formats like Access 2007 have limited or no support for modern hashing algorithms. When you attempt to sign them with SHA-384 or SHA-512 certificates, the system may mistakenly request SHA-1 instead. You must convert the database to a newer format.

How do I force my command-line signing tool to use SHA-256?

You need to update your signing tool (such as mage.exe) to the newest version. Certain older versions contain a known bug that forces a fallback to SHA-1 if the certificate is not specifically SHA-256 (e.g., if it's SHA-384). Updating via Visual Studio or the dotnet CLI resolves this.

What is DigiCert HSM KeyLocker?

DigiCert HSM KeyLocker is a cloud-based code signing solution that secures your private cryptographic keys in a remote Hardware Security Module (HSM). This allows you to sign code, macros, and packages securely without needing a physical USB token.