The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AutoSSL Permission denied error

Discussion in 'Security' started by -Andromeda-, Mar 8, 2017.

Tags:
  1. -Andromeda-

    -Andromeda- Registered

    Joined:
    Mar 8, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Turkey
    cPanel Access Level:
    Root Administrator
    Hi;

    i tried active autossl on new account. İ clicked enable autossl button after clicked check button. I used LetsEncrtypt. But they do not active on new account. İ looked logs and they said:
    Code:
    Log for the AutoSSL run for “scriptztr”: Thursday, March 9, 2017 12:13:20 AM GMT+0300 (Let’s Encrypt™)
    12:13:20 AM This system has AutoSSL set to use “Let’s Encrypt™”.
    12:13:20 AM Checking websites for “scriptztr” …
    12:13:20 AM The website “s****.com”, owned by “s***”, has no SSL certificate. AutoSSL will attempt to obtain a new certificate and install it.
    12:13:20 AM WARN The domain “scriptztr.com” failed domain control validation: The system failed to create the temporary file “/home/****/public_html/.well-known/acme-challenge/**************-************* because of an error: Permission denied at bin/autossl_check.pl line 562.
    12:13:20 AM WARN The domain “www.s*****” failed domain control validation: The system failed to create the temporary file “/home/scriptztr/public_html/.well-known/acme-challenge/********************-*************” because of an error: Permission denied at bin/autossl_check.pl line 562.
    12:13:20 AM WARN The domain “mail.s*****.com” failed domain control validation: The system failed to create the temporary file “/home/s*****/public_html/.well-known/acme-challenge/****************” because of an error: Permission denied at bin/autossl_check.pl line 562.
    12:13:20 AM The system has completed the AutoSSL check for “s****”.
    
    please help me and I'm so sorry for my English , I can not speak well :)
     
    #1 -Andromeda-, Mar 8, 2017
    Last edited by a moderator: Mar 8, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Please review the ownership values configured on the following directories to ensure they are owned by the account user and not by "root":

    /home/$username/public_html/.well-known/acme-challenge
    /home/$username/public_html/.well-known


    You can find a thread on this topic at:

    SOLVED - AutoSSL can't verify/install certs

    Thank you.
     
Loading...

Share This Page