Skip to content

Instantly share code, notes, and snippets.

@ludndev
Created May 23, 2024 16:40
Show Gist options
  • Save ludndev/544f696b898c4bf81dee1d4a3e24649c to your computer and use it in GitHub Desktop.
Save ludndev/544f696b898c4bf81dee1d4a3e24649c to your computer and use it in GitHub Desktop.
acme.sh example for a project on CPanel

Example with example.com

Note that you need to update the webroot based on your project. Some will simply be ~/example.com.

acme.sh --issue --force -d example.com -d www.example.com --webroot ~/example.com/public
acme.sh --install-cert -d example.com -d www.example.com
acme.sh --deploy --deploy-hook cpanel_uapi -d example.com -d www.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment