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. https://crt.sh/?q=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: example.com
I ran this command: sudo certbot --apache
It produced this output: The apache plugin is not working; there may be problems with your existing configuration.
The error was: NoInstallationError('Could not find configuration root')
My web server is (include version): * Apache/2.4.46 (cPanel)
The operating system my web server runs on is (include version): * CENTOS 7.9 kvm [server1]
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 Via Terminal
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Am using Cpanel & WHM
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you're using Certbot): cannot create user data directory: /home/uname/snap/certbot/793: Permission denied