Re: [exim] TLS Base64 unexpected header error

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Viktor Dukhovni
Date:  
À: exim-users
Sujet: Re: [exim] TLS Base64 unexpected header error
On Wed, Sep 30, 2015 at 07:07:33PM -0400, Yan Seiner wrote:

> 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.


The error is a GnuTLS error parsing the header of the PEM file.
Either the certificate file or the key file is malformed or in an
unsupported format. Look for lines terminated with "\r\n" rather
than just "\n", excess trailing white-space, and look for non-ASCII
characters.

Post the output of:

    grep '^-' /etc/ssl/certs/mail_seiner_com.pem | cat -etv
    grep '^-' /etc/ssl/localkeys/mail.seiner.com/mail.seiner.com.key | cat -etv


so others can help you look.

-- 
    Viktor.