MXWarden
Free Deliverability Tools / Private Key Never Leaves RAM

2048-Bit DKIM RSA Key Generator (Browser WebCrypto) & Inspector

Generates 2048-bit RSA DKIM keys locally via WebCrypto with RFC 1035 multi-string TXT chunking, plus live selector bit-length checks.

Runs directly in your browser with zero signup · Need 24/7 automated monitoring & 15-minute SPF auto-healing? Run Full Domain Audit →

2048-Bit DKIM Generator — Technical Reference & FAQ

Technical Specification & Field Reference

DomainKeys Identified Mail (RFC 6376 & RFC 8301) attaches a cryptographic digital signature (DKIM-Signature: v=1; a=rsa-sha256; d=yourdomain.com; s=selector; ...) to outbound message headers and body hashes. Unlike SPF — which breaks whenever a recipient auto-forwards email to another inbox — a valid aligned DKIM signature survives forwarding hops intact, making 2048-bit DKIM the cornerstone of safe p=reject DMARC enforcement.

Key ParameterLegacy / Broken SetupModern Production Standard (RFC 8301)
RSA Modulus Length512-bit or 768-bit (cryptographically factorable; rejected)2048-bit RSA (or Ed25519 alongside dual-signed RSA fallback)
DNS TXT String LengthTruncated at 255 chars causing ASN.1 decode failureSplit into two quoted strings under 255 bytes each ("v=DKIM1..." "...")
Selector Naming & RotationSingle static default._domainkey kept for 10 yearsDated selectors (mail2026a._domainkey) rotated every 6–12 months
Decommissioned KeysLeft active in DNS after switching vendorsDeleted or explicitly revoked via empty public key v=DKIM1; p=
Frequently Asked Questions
Why is 2048-bit RSA required instead of 1024-bit?

RFC 8301 deprecates <1024-bit keys outright and recommends 2048-bit RSA so attackers cannot factor signing keys offline. Because a 2048-bit public key exceeds 255 characters, DNS TXT records must split it into quoted substrings.

Where is my DKIM private key generated?

Inside your browser's native WebCrypto API (window.crypto.subtle). Neither the private key nor the seed ever leaves your device memory.

How often should DKIM selectors be rotated?

M3AAWG recommends rotating selectors every 6 to 12 months by publishing a new selector (e.g. mail2026b._domainkey), switching outbound signing, and revoking the old selector after 7 days.

Embed This Free Tool on Your MSP Site or Internal Wiki

Copy this responsive iframe snippet to embed 2048-Bit DKIM Generator on documentation pages or client portals:

<iframe src="https://mxwarden.com/embed/tools/dkim-key-generator-inspector" width="100%" height="520" style="border:1px solid #e2e8f0;border-radius:12px;" loading="lazy"></iframe>
More Free Email Authentication Utilities