Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
acme.sh --issue -d test.domain.com,*.test.domain.com --dns dns_cf
It produced this output:
Your cert is in /root/.acme.sh/test.domain.com/test.domain.com.cer
[Thu Jan 28 14:20:25 WAT 2021] Your cert key is in /root/.acme.sh/test.domain.com/test.domain.com.key
[Thu Jan 28 14:20:25 WAT 2021] v2 chain.
[Thu Jan 28 14:20:25 WAT 2021] The intermediate CA cert is in /root/.acme.sh/test.domain.com/ca.cer
[Thu Jan 28 14:20:25 WAT 2021] And the full chain certs is there: /root/.acme.sh/test.domain.com/fullchain.cer
My web server is (include version): Apache/2.4.46
The operating system my web server runs on is (include version): Cent OS * [v92.0.6]
My hosting provider, if applicable, is:Namecheap
I can login to a root shell on my machine (yes or no, or I don't know):Yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Yes, WHM/Cpanel
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): Am using ACME.SH
I created the certificate successfully using acme.sh but i dont know how touse the certificate
i read that i have to copy the certificate to apache folder, so i did this
i first created the path to where i want it to be>>
mkdir -pv /etc/letsencrypt/live/test.domain.com/
cd /etc/letsencrypt/live/test.domain.com/
touch cert.pem privkey.pem fullchain.pem
Then i followed the docs to copy the certs there
acme.sh --install-cert -d test.domain.com
--cert-file /etc/letsencrypt/live/test.domain.com/cert.pem
--key-file /etc/letsencrypt/live/test.domain.com/privkey.pem
--fullchain-file /etc/letsencrypt/live/test.domain.com/fullchain.pem
--reloadcmd "service apache2 force-reload"
the copy seems to be successful, but the last line showed an error
Failed to reload-or-try-restart apache2.service: Unit not found.
[Thu Jan 28 16:43:29 WAT 2021] Reload error for :
I still tried to add the cert path to my virtual host anyways, but my virtual host stopped working , so i removed it.
I was using certbot manual for it before, but i have alot of subdomains to input so i decided to switch to acme.sh, thanks