Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Last active March 21, 2022 19:51
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save hasinhayder/52d16c4ceba9fc29cc099021e308ba2f to your computer and use it in GitHub Desktop.
Save hasinhayder/52d16c4ceba9fc29cc099021e308ba2f to your computer and use it in GitHub Desktop.
Install Admin Panel SSL Cert for VestaCP using LetsEncrypt
v-change-sys-hostname somedomain.com
v-add-letsencrypt-domain 'admin' $HOSTNAME '' 'yes'
# v-add-letsencrypt-domain 'admin' $HOSTNAME '' 'no'#mail domain = no
v-update-host-certificate admin $HOSTNAME
echo "UPDATE_HOSTNAME_SSL='yes'" >> /usr/local/vesta/conf/vesta.conf
@hasinhayder
Copy link
Author

v-change-sys-hostname somedomain.com
v-add-letsencrypt-domain 'admin' $HOSTNAME '' 'no'
v-update-host-certificate admin $HOSTNAME
echo "UPDATE_HOSTNAME_SSL='yes'" >> /usr/local/hestia/conf/hestia.conf

@hasinhayder
Copy link
Author

v-add-letsencrypt-host

@azonedev
Copy link

after adding SSL cer. this way, http://domain.com presents my application file but https://domain.com has presented another thing [vestacp index page]. How can I fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment