TLS Error

tdldp

Verified User
Joined
May 9, 2005
Messages
169
Hi jeff...

Just passed my new Debian / Dovecot / exim / Clamav box on spamassassin 2... and since then i get strange errors in mainlog :

2007-07-06 17:09:38 TLS error on connection from myserver.oxyd.net (myserver.oxyd.net) [xxx.xx.xx.xxx] (SSL_CTX_use_PrivateKey_file file=/etc/exim.key): error:0200100D:system library:fopen:permission denied

Do you have an idea on the problem.???

Had no choice passing to debian, but it's hard to find my "petit" since migration happened (i'm having problems with clamav, nagios, mrtg, and now exim)

Thks for any detailed information on how to repair
 
I believe this has been discussed before; have you done a search in these forums for exim tls?

Today that search returns 14 posts. I believe one of those threads will hold the answer.

Jeff
 
solution

Hi jeff, thks for your reply

For information, subject has not been delt with (a search with exim tls and error gives 0 result)...

And i have found the solution in google with 4 answers only for that error...

In fact in this case, the rights on the certificates and key are not owned by the mail User / Group.

a chown later, and restarting exim, seemed to have solved the panic log errors

Yours tdldp
 
At the peril of rehashing an old subject, I had this same issue today and after Googling
Code:
Directadmin error:0200100D:system library:fopen:Permission denied
I landed on this page and after some careful reading I did the following:

Code:
[root@cp ~]# ls -l /etc/exi*
-rwxr-xr-x 1 root root  1399 Jan  6 12:25 /etc/exim.cert
-rwxr-xr-x 1 root root 35574 Jan 18 13:53 /etc/exim.conf
-rw------- 1 root root   887 Jan  6 12:25 /etc/exim.key
-rwxr-xr-x 1 root root  6912 Jan 14 11:48 /etc/exim.pl

Subsequently I ran the following as mentioned a few posts up from here:
Code:
chown mail:mail /etc/exim.cert 
chown mail:mail /etc/exim.key

Then to verify I ran ;
Code:
[root@cp ~]# ls -l /etc/exi*
-rwxr-xr-x 1 mail mail  1399 Jan  6 12:25 /etc/exim.cert
-rwxr-xr-x 1 root root 35574 Jan 18 13:53 /etc/exim.conf
-rw------- 1 mail mail   887 Jan  6 12:25 /etc/exim.key
-rwxr-xr-x 1 root root  6912 Jan 14 11:48 /etc/exim.pl

PROBLEM SOLVED!!!!!:)
 
Back
Top