When do you need this?
When the mail server or service asks you to add your own key. Microsoft 365, Google and most services create the keys themselves, and then you should use theirs.
Security
The key pair is created in the browser and is not sent to us. Store the private key safely and share it only with the server that will sign.
How to use the generator
- Enter the domain and choose a selector. The suggestion is s plus year and month, for example s202611.
- Choose the key length. RSA 2048 bit suits almost everyone.
- Add the TXT record to DNS. If the DNS service needs split strings, we show the split version too.
- Download the private key as a .pem file and add it to the mail server.
- Turn on signing, send a test and check it with the DKIM signature validator.
Choose a good selector
A selector with a date makes it easy to replace the key later: you create a new one with a new date, and the old one can stay until it is no longer used. The selector can only have letters, digits, hyphens and underscores.