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.
Letsencrypt for CP panel and wordpress site
Letsencrypt for CP panel and wordpress site
I've seen this here : viewtopic.php?f=25&t=13259 and i've activated for both my website and the panel itself. Do i need to do something in order for it to activate the SSL when i access myvestaip:8083 and my website? For my website i was trying to use wordpress plugin "Really Simple SSL" that would detect when a certificate is active. The vestapanel already shows the certificates but i have no idea what to do next :/ Any help?
Edit : I guess i was too early to post in here lol. The ssl for the site is now on. I guess it only took a couple of minutes or so. Now when I access the CP itself it still shows the https error saying the connection is untrusted. Do i need to edit any files?
Edit : I guess i was too early to post in here lol. The ssl for the site is now on. I guess it only took a couple of minutes or so. Now when I access the CP itself it still shows the https error saying the connection is untrusted. Do i need to edit any files?
Re: Letsencrypt for CP panel and wordpress site
VestaCP Panel is slightly different.
Have you generated an SSL certificate for the hostname?
If yes and the hostname is server.hostname.com then:
However when the SSL Certificate is regenerated your emails will not work correctly so I have had to set-up another cronjob that modified the permissions like so:
I made this run 10 minutes after Vesta regenerates the SSL.
Have you generated an SSL certificate for the hostname?
If yes and the hostname is server.hostname.com then:
Code: Select all
rm -f /usr/local/vesta/ssl/certificate.*
ln -s /home/admin/conf/web/ssl.server.hostname.com.pem /usr/local/vesta/ssl/certificate.crt
ln -s /home/admin/conf/web/ssl.server.hostname.com.key /usr/local/vesta/ssl/certificate.key
chown root:mail /usr/local/vesta/ssl/certificate.*
Code: Select all
chown root:mail /home/admin/conf/web/ssl.*
-
- Posts: 57
- Joined: Thu Apr 27, 2017 7:40 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Letsencrypt for CP panel and wordpress site
I am trying to do exactly this, followed instructions ver batum.
All seems to have went well.....
However after doing this I still get (I waited about 15 minutes):
All seems to have went well.....
However after doing this I still get (I waited about 15 minutes):
How often does vesta regenerate the SSL? Should I be looking to set this every 3 months? or what exactly are the crontab settings?I made this run 10 minutes after Vesta regenerates the SSL.
Re: Letsencrypt for CP panel and wordpress site
If you followed my instructions don't forgot to reboot Vestaviraladmin wrote:I am trying to do exactly this, followed instructions ver batum.
All seems to have went well.....
However after doing this I still get (I waited about 15 minutes):
How often does vesta regenerate the SSL? Should I be looking to set this every 3 months? or what exactly are the crontab settings?I made this run 10 minutes after Vesta regenerates the SSL.
-
- Posts: 57
- Joined: Thu Apr 27, 2017 7:40 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Re: Letsencrypt for CP panel and wordpress site
Thank you that was very helpful - still not sure about the crontab though :)
Re: Letsencrypt for CP panel and wordpress site
Vesta handles all SSL renewals by itself. There should be a cron under admin like this (your server will have a different date/time to execute it):viraladmin wrote:Thank you that was very helpful - still not sure about the crontab though :)
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue letsencrypt
Code: Select all
15 6 * * * root chown root:mail /usr/local/vesta/ssl/certificate.*