Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

send email with ssl letsencrypt in admin panel

General questions about VestaCP
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
flacosa
Posts: 43
Joined: Thu Mar 05, 2015 11:40 pm

send email with ssl letsencrypt in admin panel
  • Quote

Post by flacosa » Thu Feb 09, 2017 7:09 pm

I have a problem. If I use a ssl letsencrypt certificate on my vesta admin panel (xxxxxx.com:8083) I can not send emails or receive from Gmail.

any ideas?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by ScIT » Thu Feb 09, 2017 7:16 pm

Please check and provide your logs. Also inform about used os and vestacp version.

We can not know all ;-)...
Top

flacosa
Posts: 43
Joined: Thu Mar 05, 2015 11:40 pm

Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by flacosa » Thu Feb 09, 2017 8:58 pm

is vesta 9.8.17
He discovered this

log mainlog in exim4

cert=/usr/local/vesta/ssl/certificate.crt key=/usr/local/vesta/ssl/certificate.key): Error while reading file.

I use
ln -s /etc/letsencrypt/live/XXXXXXXXXX.com/privkey.pem /usr/local/vesta/ssl/certificate.key



I have put the .crt and .key files in the vesta ssl directory and it works




Is it possible to link .crt and .key files and does it work?

For : sudo /usr/local/vesta/bin/v-update-letsencrypt-sslin cron to work this mode

No??

thnsk
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by ScIT » Fri Feb 10, 2017 7:12 am

Yep, that's why I wrote this one here: viewtopic.php?f=19&t=13057

Just create this script (if you want you can run it more often then once a day) and it will copy the certs, set right permission and restart the services.
Top

flacosa
Posts: 43
Joined: Thu Mar 05, 2015 11:40 pm

Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by flacosa » Fri Feb 10, 2017 11:41 pm

perfect!!! Running !!! Thank you
Top

flacosa
Posts: 43
Joined: Thu Mar 05, 2015 11:40 pm

Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by flacosa » Sat Feb 11, 2017 11:42 pm

ScIT wrote:Yep, that's why I wrote this one here: viewtopic.php?f=19&t=13057

Just create this script (if you want you can run it more often then once a day) and it will copy the certs, set right permission and restart the services.


Hello, now cron when executing: sudo /etc/cron.daily/vesta_ssl gives this error:
sudo: no tty present and no askpass program specified

any idea??
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by ScIT » Sun Feb 12, 2017 8:54 am

flacosa wrote:
ScIT wrote:Yep, that's why I wrote this one here: viewtopic.php?f=19&t=13057

Just create this script (if you want you can run it more often then once a day) and it will copy the certs, set right permission and restart the services.


Hello, now cron when executing: sudo /etc/cron.daily/vesta_ssl gives this error:
sudo: no tty present and no askpass program specified

any idea??
Normaly, you don't have to execute the script. The system will do this on his own every day. Do you have setup a cronjob inside of vestacp?
Top

flacosa
Posts: 43
Joined: Thu Mar 05, 2015 11:40 pm

Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by flacosa » Sun Feb 12, 2017 10:11 am

aaaahh!!! oook

I understand

The system executes the scripts of this folder /etc/cron.daily every day

It is true?

OK OK OK

Thanks
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: send email with ssl letsencrypt in admin panel
  • Quote

Post by ScIT » Sun Feb 12, 2017 10:17 am

flacosa wrote:The system executes the scripts of this folder /etc/cron.daily every day

It is true?
yep, you're right.
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “General Discussion”



  • 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