DKIM: Difference between revisions

From DWIKI
mNo edit summary
Line 18: Line 18:
=HOWTO=
=HOWTO=
==Check if keys match==
==Check if keys match==
  dig myselector._domainkey.example.com
  dig myselector._domainkey.example.com txt
 
and save the bit from "p=" to '''public.key.b64'''
and save the bit from "p=" to '''public.key.b64'''
  openssl enc -base64 -d -in public.key.b64 -out public.key
  openssl enc -base64 -d -in public.key.b64 -out public.key

Revision as of 09:54, 23 January 2024

DomainKeys Identified Mail


Links

DKIMvalidator


HOWTO

Check if keys match

dig myselector._domainkey.example.com txt

and save the bit from "p=" to public.key.b64

openssl enc -base64 -d -in public.key.b64 -out public.key
openssl rsa -pubin -inform DER -in public.key -noout -modulus

and compare the shown modulus with

openssl rsa -in private.key -noout -modulus

They should be identical

FAQ