PDA

View Full Version : TLS Error



tdldp
07-06-2007, 09:27 AM
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

nobaloney
07-08-2007, 08:56 PM
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

tdldp
07-12-2007, 02:35 AM
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

nealdxmhost
01-18-2011, 03:23 PM
At the peril of rehashing an old subject, I had this same issue today and after Googling
Directadmin error:0200100D:system library:fopen:Permission denied I landed on this page and after some careful reading I did the following:


[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:

chown mail:mail /etc/exim.cert
chown mail:mail /etc/exim.key

Then to verify I ran ;

[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!!!!!:)

orkinoks
01-21-2011, 03:06 AM
thx nealdxmhost.
You solved my problem right away.