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