Prajithp / letsencrypt-cpanel

cPanel/WHM plugin for Let's Encrypt client
MIT License
179 stars 61 forks source link

[WHM 56.0 (build 24)] Install Letsencrypt Cert > mkdir permission error #67

Closed adam-codeberg closed 8 years ago

adam-codeberg commented 8 years ago

On installing to any vhost from within WHM

mkdir /home/vhost-name/public_html/.well-known/acme-challenge: Permission denied at /usr/local/cpanel/Cpanel/LetsEncrypt/Challenge.pm line 66.

On installing from within vhost cpanel account

mkdir /home/vhost-name/public_html/.well-known/acme-challenge: Permission denied at /usr/local/cpanel/Cpanel/LetsEncrypt/Challenge.pm line 73.

adam-codeberg commented 8 years ago

Letsencrypt-auto was previously run as root and created a .well-known folder as root user. Removed folder and re-ran. Resolved.