1. Login to user terminal from cpanel or putty. if terminal in cpanel is not available, then enable it from the manage shell option.
2. Enter the following commands
curl https://get.acme.sh | sh
ls
pwd
.acme.sh/acme.sh --issue -d yourdomain.tld -w /home/username/yourdomain.tld/ --server letsencrypt
or
.acme.sh/acme.sh --issue -d yourdomain.tld -w /home/username/public_html/ --server letsencrypt
3. After creating all, login to cpanel and select the SSL feature. Remove old SSL.
4. open manage SSL option -> Select the domain -> copy paste the cert data from the file -> copy paste the key also and save. It will install SSL
cer files and key files are available in .acme/yourdomain.tld.ecc