[Rspamd-Users] rspamd can't read key files anymore
vsevolod at rspamd.com
Tue Oct 20 12:54:09 UTC 2020
On 20/10/2020 13:50, Ronny Seffner wrote:
> since a few days (perhaps last rspamd update via apt [debian]) I got following error reading my DKIM private keys. They where generated using opnessl genrsa.
> 2020-10-20 14:19:03 #5402(rspamd_proxy) <d3f0aa>; dkim_signing; dkim_signing.lua:128: using key "/etc/postfix/dkim/dkim285", use selector "dkim285" for domain "seffner.de"
> 2020-10-20 14:19:03 #5402(rspamd_proxy) <d3f0aa>; proxy; dkim_module_load_key_format: cannot load dkim key /etc/postfix/dkim/dkim285: cannot parse raw private key: error:0D06B08E:asn1 encoding routines:asn1_d2i_read_bio:not enough data
> I also tried as shown in rspamd doku (https://rspamd.com/doc/modules/dkim_signing.html) using "rspamadm dkim_keygen -s 'woosh' -b 2048 -d example.com -k example.private > example.txt" but I got the same error message.
> I tested with file rspamd-user readable and others readable.
> What went wrong?
Add dot to the file name.
More information about the Users