DKIM Public Key is Always Too Long

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
User avatar
New user
New user
Posts: 23
Joined: 2019-06-28 11:17
Location: Portland, Oregon

DKIM Public Key is Always Too Long

Post by CopBlaster » 2019-07-12 01:47

No matter what I use as a key generator for DKIM, this error message is returned whenever I try to validate:

result = invalid
Details: public key: OpenSSL error: too long

I've tried several key generators including OpenSSL and every key comes back as too long.

Whenever I look it up on MSToolBox it looks good: ... n=toolpage

But if I send an email to something like or I get that error.

Normal user
Normal user
Posts: 70
Joined: 2018-11-23 14:42
Location: Germany

Re: DKIM Public Key is Always Too Long

Post by Virinum » 2019-07-12 09:25

Your key has whitespaces in it. So there is something wrong with it.

Post Reply