Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section 3rd Party Software
  • Search

Let's Encrypt for VestaCP System (8083) and exim4

Section with additional software for Vesta
Post Reply
  • Print view
Advanced search
55 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: Let's Encrypt for VestaCP System (8083) and exim4
  • Quote

Post by youradds » Tue Apr 28, 2020 7:25 am

Have you tried a full server reboot? I've found sometimes that helps (as stuff can get "caught up" in the system). I've literally spent hours trying to debug a problem, and then restarted the whole server for the problem to disappear!

Here is what I can on my system:

Code: Select all

root@west:/usr/local/vesta/ssl# ls -l
total 16
-rw-r----- 1 root mail 3960 Mar 26 08:11 certificate.crt
-rw-rw---- 1 root mail 2106 Mar 25 16:56 certificate.crt.old
-rw-r----- 1 root mail 3243 Mar 26 08:11 certificate.key
-rw-rw---- 1 root mail 3243 Mar 25 16:56 certificate.key.old
Top

Nugjii
Posts: 5
Joined: Tue Apr 28, 2020 4:06 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Let's Encrypt for VestaCP System (8083) and exim4
  • Quote

Post by Nugjii » Tue Apr 28, 2020 7:33 am

youradds wrote: ↑
Tue Apr 28, 2020 7:25 am
Have you tried a full server reboot? I've found sometimes that helps (as stuff can get "caught up" in the system). I've literally spent hours trying to debug a problem, and then restarted the whole server for the problem to disappear!

Here is what I can on my system:

Code: Select all

root@west:/usr/local/vesta/ssl# ls -l
total 16
-rw-r----- 1 root mail 3960 Mar 26 08:11 certificate.crt
-rw-rw---- 1 root mail 2106 Mar 25 16:56 certificate.crt.old
-rw-r----- 1 root mail 3243 Mar 26 08:11 certificate.key
-rw-rw---- 1 root mail 3243 Mar 25 16:56 certificate.key.old
Yes, but no success...

What is the issuer of your cert?
Last edited by Nugjii on Tue Apr 28, 2020 7:35 am, edited 1 time in total.
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: Let's Encrypt for VestaCP System (8083) and exim4
  • Quote

Post by youradds » Tue Apr 28, 2020 7:34 am

Hmm sorry I'm out of ideas then :(
Top

Nugjii
Posts: 5
Joined: Tue Apr 28, 2020 4:06 am

Os: Ubuntu 17x
Web: apache + nginx
Re: Let's Encrypt for VestaCP System (8083) and exim4
  • Quote

Post by Nugjii » Tue Apr 28, 2020 8:09 am

Nugjii wrote: ↑
Tue Apr 28, 2020 4:27 am
Hello all,

/etc/exim4/exim4.conf.template

Code: Select all

tls_advertise_hosts = *
tls_certificate = /usr/local/vesta/ssl/certificate.crt
tls_privatekey = /usr/local/vesta/ssl/certificate.key
symlinked

root@mail:/usr/local/vesta/ssl# ls -la

Code: Select all

total 8
drw-rw----  2 root mail 4096 Apr 28 09:10 .
drwxr-xr-x 16 root root 4096 Apr 24 11:45 ..
lrwxrwxrwx  1 root root   41 Apr 28 09:09 certificate.crt -> /home/admin/conf/web/ssl.domain.mn.crt
lrwxrwxrwx  1 root root   41 Apr 28 09:10 certificate.key -> /home/admin/conf/web/ssl.domain.mn.key
set group and permission

root@mail:/home/admin/conf/web# ls -la

Code: Select all

-rw-rw---- 1 root root  1674 Apr 28 09:07 ssl.domain.mn.ca
-rw-r--r-- 1 root mail  2273 Apr 28 09:07 ssl.domain.mn.crt
-rw-r--r-- 1 root mail  3243 Apr 28 09:07 ssl.domain.mn.key
-rw-rw---- 1 root root  3948 Apr 28 09:07 ssl.domain.mn.pem
restarted exim4 service but, I still get the following error on Exim log.

Code: Select all

2020-04-28 12:15:49 TLS error on connection from mail.domain.mn (me) [43.231.114.90] (cert/key setup: cert=/usr/local/vesta/ssl/certificate.crt key=/usr/local/vesta/ssl/certificate.key): Error while reading file.
I'm using LetsEncrypt certificates and they seem to working fine over HTTPS.
rebooted, copy cert files instead of symlinked but stiil have same error.
Why is this happening? Have you had any success resolving this issue?
I think it is not a related with permission. Any idea?
Top

youradds
Posts: 130
Joined: Tue Sep 01, 2015 10:16 am

Re: Let's Encrypt for VestaCP System (8083) and exim4
  • Quote

Post by youradds » Tue Apr 28, 2020 8:24 am

Can you PM me your entire exzim4.conf.template file? (on here, or [email protected]). I'll do a WinMerge on my template to see what differences I can see (if any)

Cheers

Andy
Top


Post Reply
  • Print view

55 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Return to “3rd Party Software”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password