I have generated a Let's Encrypt certificate and tried to use the AutoSSL plugin to install the certificate. I get the following errors in the AutoSSL log:
I installed the Let's Encrypt client and generated an SSL:
The next instruction is to enter a script via the API to auto install the SSL. At this point I tried to use the Auto SSL plugin to do the job and got the above errors. What steps do I need to take to get my SSL installed?
(I am on CentOS 6.8, cPanel 11.58.0.32)
I have been following these instructions: [How-To] Installing SSL from Let's EncryptThe website “domain.com”, owned by “user”, has no SSL certificate. AutoSSL will attempt to obtain a new certificate and install it.
WARN (XID rw7d9e) The system failed to create the directory “/home/user/public_html/.well-known/acme-challenge” because of an error: Permission denied
I installed the Let's Encrypt client and generated an SSL:
Code:
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -ivh https://rhel6.iuscommunity.org/ius-release.rpm
yum -y install git python27 python27-devel python27-pip python27-setuptools python27-virtualenv --enablerepo=ius
cd /root
git clone https://github.com/letsencrypt/letsencrypt
cd /root/letsencrypt
sed -i "s|--python python2|--python python2.7|" letsencrypt-auto
./letsencrypt-auto --verbose
cd /root/letsencrypt
./letsencrypt-auto --text --agree-tos --email [email protected] certonly --renew-by-default --webroot --webroot-path /home/cPanelUser/public_html/ -d domain.com -d www.domain.com
(I am on CentOS 6.8, cPanel 11.58.0.32)