We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Let's Encrypt create/renew with force-https template
Re: Let's Encrypt create/renew with force-https template
I use the force http template, and it's been working on my Let's Encrypt sites.
However, doing a file search for "conf_letsencrypt" only turns up two files: My default domain, and one other domain. My 9 or so other sites don't have the conf_letsencrypt files.
What do I need to do to rebuild my templates so I get those conf_letsencrypt files?
As a side note, is it normal for my Let's Encrypt sites to no longer have the Let's Encrypt checkbox checked once the certificates are generated? The SSL box is still checked.
However, doing a file search for "conf_letsencrypt" only turns up two files: My default domain, and one other domain. My 9 or so other sites don't have the conf_letsencrypt files.
What do I need to do to rebuild my templates so I get those conf_letsencrypt files?
As a side note, is it normal for my Let's Encrypt sites to no longer have the Let's Encrypt checkbox checked once the certificates are generated? The SSL box is still checked.
Re: Let's Encrypt create/renew with force-https template
Update force-https templates.
Rebuild web for users who uses those templates.
And you can easyly update our certificate.
This part for search and include files .conf_letsencrypt if there is some,
and if you don't have any or for one you have and don't have for other,
you, I hope, don't get any troubles.
Rebuild web for users who uses those templates.
And you can easyly update our certificate.
Code: Select all
*nginx.%domain_idn%.conf_letsencrypt;
and if you don't have any or for one you have and don't have for other,
you, I hope, don't get any troubles.
Re: Let's Encrypt create/renew with force-https template
Thank you for the reply.
I updated the templates and rebuilt web for one user. That user still doesn't have a conf_letsencrypt file.
In the panel for that user's domain, SSL is checked, but Let's Encrypt is not. The SSL cert shows up in the boxes below.
If I check the Let's Encrypt box and click Save, I get an error: Error: /tmp/tmp.ChTEgIkrjn/MYDOMAIN.com.crt not found
If it matters, I have SSL Home set to public_html.
Running Ubuntu 16.04 with PHP7.0
I updated the templates and rebuilt web for one user. That user still doesn't have a conf_letsencrypt file.
In the panel for that user's domain, SSL is checked, but Let's Encrypt is not. The SSL cert shows up in the boxes below.
If I check the Let's Encrypt box and click Save, I get an error: Error: /tmp/tmp.ChTEgIkrjn/MYDOMAIN.com.crt not found
If it matters, I have SSL Home set to public_html.
Running Ubuntu 16.04 with PHP7.0
Re: Let's Encrypt create/renew with force-https template
Please uncheck ssl checkbox -> save and add ssl support and let's encrypt.sdayman wrote: I updated the templates and rebuilt web for one user. That user still doesn't have a conf_letsencrypt file.
In the panel for that user's domain, SSL is checked, but Let's Encrypt is not. The SSL cert shows up in the boxes below.
Re: Let's Encrypt create/renew with force-https template
That did it. Thanks!skurudo wrote: Please uncheck ssl checkbox -> save and add ssl support and let's encrypt.
Re: Let's Encrypt create/renew with force-https template
Yep, my fault.skurudo wrote:From here? https://vestacp.com/docs/#how-to-force-httpsTrentor wrote:I downloaded the templates from "Documentation" and still be the old ones.
Nope, I disagree
There is now one more include for Let's encrypt:Code: Select all
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
Re: Let's Encrypt create/renew with force-https template
THANKS!!!!skurudo wrote:Update force-https templates.
Rebuild web for users who uses those templates.
And you can easyly update our certificate.
Re: Let's Encrypt create/renew with force-https template
Can you please tell me what you mean by "Update force-https templates"? Thanks.skurudo wrote:Update force-https templates.
Rebuild web for users who uses those templates.
And you can easyly update our certificate.
This part for search and include files .conf_letsencrypt if there is some,Code: Select all
*nginx.%domain_idn%.conf_letsencrypt;
and if you don't have any or for one you have and don't have for other,
you, I hope, don't get any troubles.
Re: Let's Encrypt create/renew with force-https template
vesta_mtl wrote:Can you please tell me what you mean by "Update force-https templates"? Thanks.
Code: Select all
cd /usr/local/vesta/data/templates/web
wget http://c.vestacp.com/0.9.8/rhel/force-https/nginx.tar.gz
tar -xzvf nginx.tar.gz
rm -f nginx.tar.gz