Running into this error when sending digitally signed messages to Gmail users? We’re here to help with this quick-fix guide
Few things are more frustrating for marketers and tech users than seeing this type of error message when sending messages to select users:
The signature uses an unsupported algorithm. The digital signature is not valid.
Ugh. Now, you’re stuck scouring online forums to figure out what’s wrong. As far as you know, you’ve done everything you’re supposed to do:
- You’ve bought a publicly trusted S/MIME certificate (i.e., an email signing certificate).
[Button: Shop S/MIME Certificates]
- The certificate issuer (a CA like DigiCert or Sectigo) has validated you and/or your organization and has issued the certificate.
- You’ve installed the certificate in your email client.
Everything should be working now… right? Not necessarily.
We’re here to help you remedy the situation in the time it takes to grab your third cup of coffee for the day.
What Causes the Error ‘The Signature Uses an Unapproved Algorithm’

How to Fix the Error to Attach a Valid Digital Signature to Your Email
As the first half of the error message suggests, the issue here lies with the digital signature itself, as it was generated using at least one unsupported algorithm. In this case, it was using the SHA1 algorithm.
Since this means that there’s no problem with the email signing certificate, the fix will be quite simple: Update the signing algorithm associated with your S/MIME certificate to SHA256 as a minimum.
In this case, we’ll use Outlook as our sender email client example.
Method #1: Change Your Hashing Algorithm in Microsoft Outlook
- Navigate to File > Options > Trust Center.
- In the main part of the window, select Trust Center Settings.
- In the left-hand navigation, select Email Security.
- In the main window (shown below), select Settings.

- On the next screen, see what you have set as the chosen hash algorithm. Update it to use SHA256 as a minimum and hit OK. This will close the window and return you to the previous screen.

- Hit OK again once you’re back in the Trust Center screen, and OK a final time once you return to the Outlook Settings screen. This will save your changes and should eliminate the error.
But what if you want to set your registry settings in Windows instead?
Method #2: Change Your Hashing Algorithm Using Windows Registry Editor
- Open the Windows Registry Editor window. Do this using the regedit command in the Start bar.
- Navigate to the following registry key: [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\[VERSION]\Outlook\Security]. You can do this by navigating through the following folders: HKEY_CURRENT_USER > SOFTWARE > Policies > Microsoft > Office > [Version] > Outlook > Security. (Note: Just be sure to replace the [VERSION] with whichever version you’re using.) If the Security key doesn’t exist, you’ll first have to create it.
- Use the following registry settings to specify the hash algorithm:
"UseAlternateDefaultHashAlg"=dword:00000001
"DefaultHashOID"="2.16.840.1.101.3.4.2.1"
- Disable the use of the SHA1 hashing algorithm:
[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Outlook\Security\CNGAlgs\SHA1]
"Flags"=dword:00000001
Again, if the CNGAlgs key doesn’t exist, you’ll have to manually create it first.
Once these steps are completed, when Outlook sees the DefaultHashOID=”2.16.840.1.101.3.4.2.1” it will know to use the SHA-256 you’ve specified instead of the default SHA1 for applying digital signatures to emails.
Method #3: Create a Group Policy to Specify Which Hash Algorithms to Use
To deploy your algorithm changes via Group Policy, you must download the Windows Administrative Template Files (ADMX/ADML) for Microsoft Office. Under the Email Security policy settings, you can change the default hash algorithm to SHA-256 as a minimum. If your certificate supports a higher security algorithm, such as SHA-384, then use that instead.
That’s it! Now, it’s time to check your handiwork and see if the changes worked.
How to Test Your Changes
- Open a new test email in your preferred email client. For this example, I’m using Outlook in Microsoft 365.
- To insert your digital signature, select Options > Sign in the top navigation tabs.
- Now, write the subject line and email message you wish to send and enter your Gmail test account info into the recipient field.
- Hit send and go log in to your Gmail test account.
If everything worked according to plan, you should now see a message like this in your Gmail account:

When you click on the down arrow near the blue ribbon, you’ll see a screen pop up that displays information about the sender, security-related information, and timestamp info showing the date and time the signature was applied.
When you click on Sender Info, it’ll open up another screen that displays that you can click to download the certificates.

That’s it! You’ve now successfully mitigated the Gmail email error “The signature uses an unsupported algorithm. The digital signature is not valid.”
Still having issues? Get in touch with our Support team.