Page 1 of 1

[SOLVED] Automatic let's encrypt ssl certificate renewal erases my web conf

Posted: Thu Mar 21, 2019 2:27 pm
by johan
Hi,

I've made some changes in the default /home/admin/conf/web/my.domain.apache2.ssl.conf (modifying the openbasedir setting).

The great feature that automatically renew the ssl certificates seems to reset this conf file (and create fatal errors on my services).

Can someone help me with that issue ?

I'm not familiar with shell and unix commands. The problem seems to come from this CRON jobs though : /usr/local/vesta/bin/v-update-letsencrypt-ssl

Thank you my frriends

Re: Automatic let's encrypt ssl certificate renewal erases my web conf

Posted: Fri Mar 22, 2019 12:41 am
by grayfolk
You should edit web templates, not auto-generated configs.

Re: Automatic let's encrypt ssl certificate renewal erases my web conf

Posted: Fri Mar 22, 2019 8:51 am
by johan
grayfolk wrote:
Fri Mar 22, 2019 12:41 am
You should edit web templates, not auto-generated configs.
Thanks, it seems to be a smart solution.

Web conf files templates are here : /usr/local/vesta/data/templates/web/apache2

Re: Automatic let's encrypt ssl certificate renewal erases my web conf

Posted: Fri Mar 22, 2019 9:00 am
by grayfolk
johan wrote:
Fri Mar 22, 2019 8:51 am

Web conf files templates are here : /usr/local/vesta/data/templates/web/apache2
Right. You can edit exists templates, or create your own.