著者: Jeremy Harris 日付: To: exim-users 題目: Re: [exim] DKIM Certificate Issues
On 16/02/2020 16:11, Neal Blount via Exim-users wrote: > I have configured Exim 4.92 to sign out going emails with a DKIM certificate
DKIM signature. No certificates here.
> but I always get errors:
>
> 2020-02-16 03:45:10 1j3FY3-0005tu-Vh signing_init: privkey PEM-block import: error:0909006C:PEM routines:get_name:no start line
> 2020-02-16 03:45:10 1j3FY3-0005tu-Vh DKIM: signing failed: PRIVKEY
>
> This seems to indicate an issue with the format of the private key but it was generated with openssl following the instructions in the Exim documentation. I have made sure that Exim has ownership of the files and read access.
The private key file should be a full .pem, so starting
with a line like
-----BEGIN RSA PRIVATE KEY-----
You might have been confused by the description of stripping
the PEM wrap, leaving only the base-64, for the public key
which you need to advertise in DNS?
--
Cheers,
Jeremy