Last active
March 21, 2022 19:51
-
-
Save hasinhayder/52d16c4ceba9fc29cc099021e308ba2f to your computer and use it in GitHub Desktop.
Install Admin Panel SSL Cert for VestaCP using LetsEncrypt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
v-add-letsencrypt-host
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
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