Skip to content

Instantly share code, notes, and snippets.

@HeyMehedi
Forked from hasinhayder/admin-ssl-vesta.sh
Created June 22, 2020 14:47
Show Gist options
  • Select an option

  • Save HeyMehedi/949582a36a0d7634dc2c0d7c6e9a921f to your computer and use it in GitHub Desktop.

Select an option

Save HeyMehedi/949582a36a0d7634dc2c0d7c6e9a921f 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-update-host-certificate admin $HOSTNAME
echo "UPDATE_HOSTNAME_SSL='yes'" >> /usr/local/vesta/conf/vesta.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment