Re: [exim] TLS error: Error while reading file - which file?

Top Page
Delete this message
Reply to this message
Author: Wakko Warner
Date:  
To: Philip Hazel
CC: exim-users, Marc Haber
Subject: Re: [exim] TLS error: Error while reading file - which file?
Plese keep me in CC

Philip Hazel wrote:
> On Wed, 24 Nov 2004, Marc Haber wrote:
> > On Wed, 24 Nov 2004 10:21:19 +0000 (GMT), Philip Hazel
> > <ph10@???> wrote:
> > >On Wed, 24 Nov 2004, Marc Haber wrote:
> > >> When exim 4.43 cannot find the certificate file when doing starttls,
> > >> it logs "TLS error on connection from $HOST: (cert/key setup): Error
> > >> while reading file.".
> > >>
> > >> It would be helpful if the path being accessed would be logged as
> > >> well: It helps spotting obvious typos, and it helps determining
> > >> whether key or cert is not found.
> > >
> > >OpenSSL or GnuTLS?
> >
> > GnuTLS.
>
> The string "Error while reading file." is the output from the function
> gnutls_strerror(), which is called to get some text for the error number
> that has been returned. Pity it doesn't include the name of the file it
> is trying to read.


I had this same problem on my server yesterday (4.43) using openssl. I was
changing all my certs and forgot one of them. When testing it didn't tell
me what file. Since I don't use expansions, a grep for tls_ in the .conf
helped a bit =)

--
Lab tests show that use of micro$oft causes cancer in lab animals