Skip to content

Instantly share code, notes, and snippets.

@hachesilva
Created June 8, 2020 07:12
Show Gist options
  • Save hachesilva/73653324f30a12c967dc4ea9a5ba06f4 to your computer and use it in GitHub Desktop.
Save hachesilva/73653324f30a12c967dc4ea9a5ba06f4 to your computer and use it in GitHub Desktop.
Install SSL cert from cPanel terminal
# INSTALL
curl https://get.acme.sh | sh
# USE
acme.sh --issue -d MYDOMAIN -d www.MYDOMAIN -w /home/USERNAME/public_html/
acme.sh --install-cert -d MYDOMAIN -d www.MYDOMAIN
acme.sh --deploy -d MYDOMAIN -d www.MYDOMAIN --deploy-hook cpanel_uapi
# Source: https://github.com/acmesh-official/acme.sh
# Source: https://massingham.net/using-lets-encrypt-certificates-on-namecheap-shared-hosting-with-automatic-updates/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment