---
title: "DKIM RSA key between 1024 and 2047 bits · dkim.fyi"
description: "The DKIM key is RSA of at least 1024 but under 2048 bits: it verifies, but RFC 8301 says signers should use 2048. How to rotate to a longer key."
url: "https://dkim.fyi/diagnose/rsa-key-under-2048-bits"
last_verified: 2026-10-24
---

# DKIM RSA key between 1024 and 2047 bits

Diagnostic · https://dkim.fyi/diagnose/rsa-key-under-2048-bits · Last verified 2026-10-24

> Warning · `key.rsa.acceptable`: The key is a <bits>-bit RSA key. It still works, but is considered weak and may be rejected by strict receivers.

## What it means

dkim.fyi reads the size of the RSA modulus in `p=`. From 1024 to 2047 bits it rates the key acceptable and reports this warning. A warning does not change the verdict, so the record can still read “Valid”.

RFC 8301 sets 1024 bits as the minimum signers must use and says they should use at least 2048. Verifiers must be able to validate keys from 1024 to 4096 bits, so signatures made with this key still verify.

Some providers issue 1024-bit keys by default. Microsoft 365’s New-DkimSigningConfig cmdlet lists 1024 as the default key size, and Brevo says its TXT-type DKIM record uses a 1024-bit key by default, against 2048 for its CNAME type.

## How to fix it

1. Find out who holds the key. If the selector is a CNAME, the provider its target names generates and rotates the key, so the change is made in that provider’s settings.
2. In Microsoft 365, Rotate-DkimSigningConfig with -KeySize 2048 applies the new size to the next active selector at the first rotation; a second rotation brings the other selector to 2048 as well.
3. If you manage the key yourself, generate a 2048-bit RSA key and publish it under a new selector, as a TXT record that holds the key in `p=`, usually after `v=DKIM1;`. Using a new selector when rotating keeps exactly one TXT record per selector.
4. If your DNS host cannot store a 2048-bit key, split it into several 255-character strings within one TXT record. dkim.fyi joins the strings with no separator, as RFC 6376 specifies.
5. Validate the new selector (a 2048-bit key is rated strong), switch the signer to it, then check a signed message.

## Check again

- [Validate a selector](https://dkim.fyi/)
- [Check a signed message](https://dkim.fyi/message)

## Sources

1. [RFC 8301: Cryptographic Algorithm and Key Usage Update to DomainKeys Identified Mail (DKIM)](https://www.rfc-editor.org/rfc/rfc8301)
2. [How to use DKIM for email in your custom domain - Microsoft Defender for Office 365 | Microsoft Learn](https://learn.microsoft.com/en-us/defender-office-365/email-authentication-dkim-configure)
3. [Authenticate your domain with Brevo (Brevo code, DKIM, DMARC)](https://help.brevo.com/hc/en-us/articles/12163873383186-Authenticate-your-domain-with-Brevo-Brevo-code-DKIM-DMARC)
4. [Troubleshooting - Domain authentication](https://help.brevo.com/hc/en-us/articles/16045394674066-Troubleshooting-Domain-authentication)

---

This is the text version of https://dkim.fyi/diagnose/rsa-key-under-2048-bits. The index of every page is https://dkim.fyi/llms.txt.
