7.07.2011

TSL Errror Direct Admin

Solved TLS Error directadmin

If you meet the problem some mail cannot recieved in Directadmin host. And after you check in

Exim log it show


2xxx-xx-xx xx:xx:xx TLS error on connection from xxxserver.com (xxxserver.com) [xxx.xx.xx.xxx] (SSL_CTX_use_PrivateKey_file file=/etc/exim.key): error:0200100D:system library:fopen:Permission denied

You can fix it by chown command.

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

And verify.

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