On 9/30/2015 7:16 PM, Heiko Schlittermann wrote:
> Yan Seiner <yan@???> (Do 01 Okt 2015 01:07:33 CEST):
>> I'm getting this error. I recently migrated from one server to another, and
>> since then I am seeing this in my logs:
>>
>> TLS error on connection from xxxx(cert/key setup:
>> cert=/etc/ssl/certs/mail_seiner_com.pem
>> key=/etc/ssl/localkeys/mail.seiner.com/mail.seiner.com.key): Base64
>> unexpected header error.
>>
> Can you read the files?
>
> sudo -u $(exim -n -bP exim_user) openssl x509 -in /etc/ssl/certs/mail_seiner_com.pem -noout -text
> sudo -u $(exim -n -bP exim_user) openssl rsa -in /etc/ssl/localkeys/mail.seiner.com/mail.seiner.com.key -noout -text
>
Thanks guys. As it turned out, I had lost my private key in the shuffle
and substituted some unknown key. I deleted all my mail certs,
regenerated everything from the beginning, and all is well.