This is tutorial if you didn't do that.
---------------------------------------------------------
Pre-required step: your server hostname must be full host address that is already pointing to IP of your server.
Check /etc/hostname to see what is your hostname.
If it's not real host address, change it to some domain that you are hosting, by typing in SSH:
v-change-sys-hostname somedomain.com
and then
HOSTNAME='somedomain.com'
Now, lets install Letsencrypt SSL to domain that is your hostname.
In SSH, as root, run:
Code: Select all
v-add-letsencrypt-domain 'admin' $HOSTNAME '' 'yes'
This step will install LetsEncrypt the same way you can install it via Vesta web panel (so avoid this step if you already installed LetsEncrypt to your domain).
Of course, you can install any other certificate, not only free LetsEncrypt... you can do it via Vesta web panel by editing that domain.
That's all, SSL will be automatically applied to dovecot, Exim and Vesta.
LetsEncrypt SSL will be automatically renewed every 2 months and also automatically applied to dovecot, Exim and myVesta.