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.

Failed Domain Control Validation AutoSSL Issue

Discussion in 'Security' started by denverdataman, Sep 25, 2016.

  1. denverdataman

    denverdataman Member

    Joined:
    Jun 21, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Denver
    cPanel Access Level:
    Root Administrator
    I know there are other similar threads out there but they do not appear to address the same issue I am having.

    10:39:07 PM WARN The domain “social.domain.com” has failed domain control validation (The system failed to create the temporary file “/home/domain/social.domain.com/social/html/6851.BIN_AUTOSSL_CHECK_PL__.tmp.sJrepzRB_5pFEWZg” because of an error: Permission denied). at bin/autossl_check.pl line 449.

    The temporary file does not appear to be created at all.

    The domain is a subdomain and Apache configuration has been modified so that the document root is at /home/domain/social.domain.com/social/html/.

    Any help with this is appreciated.

    Thanks,
    Steve
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the permission and ownership values on this directory, and each of it's parent directories?

    Thank you.
     
  3. denverdataman

    denverdataman Member

    Joined:
    Jun 21, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Denver
    cPanel Access Level:
    Root Administrator
    The folder for the subdomain is in the home directory for the primary domain.

    The permissions for the folder are drwxr-xr-x and the owner is the domain user.

    The permission for the html folder is drwxr-xr-x and the owner is root.

    Thanks,
    Steve
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you set ownership on this directory to "root" on purpose? Generally, the directories hosting website content should have ownership set to the account username.

    Thank you.
     
  5. denverdataman

    denverdataman Member

    Joined:
    Jun 21, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Denver
    cPanel Access Level:
    Root Administrator
    I changed to domain:domain for ownership.

    When I run the autoSSL I get:
    10:39:07 PM WARN The domain “social.domain.com” has failed domain control validation (The system failed to create the temporary file “/home/social/social.social.com/social/html/6851.BIN_AUTOSSL_CHECK_PL__.tmp.sJrepzRB_5pFEWZg” because of an error: Permission denied). at bin/autossl_check.pl line 449.

    There are lots folders but the root is set form drwxr-xr-x

    Thanks,
    Steve
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's likely additional ownership/permission issues on those directories are causing this issue. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page