Created
June 8, 2020 07:12
-
-
Save hachesilva/73653324f30a12c967dc4ea9a5ba06f4 to your computer and use it in GitHub Desktop.
Install SSL cert from cPanel terminal
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
| # 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