Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Auto SSL failed to generate

Discussion in 'Security' started by goyote, Mar 20, 2018.

Tags:
  1. goyote

    goyote Registered

    Joined:
    Mar 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    darwin
    cPanel Access Level:
    Root Administrator
    Good afternoon,

    Recently I have received following error message whey I was regenerate the SSL certificate from Cpanel.

    The SSL certificate regenerated after removing the folder. Any idea why this happened? I have checked the ownership and permissions of the " .well-known" folder and everything seems to be fine.

    Thank you very much
    Code:
    -------------error message from Cpanel
    1:05:47 PM WARN The domain “www.example.com.au” failed domain control validation: The system queried for a temporary file at “http://www.example.com.au/.well-known/pki-validation/C2B738FA427048C41B7B1FCDCFB6FE63.txt”, but the web server responded with the following error: 403 (Forbidden). A DNS (Domain Name System) or web server misconfiguration may exist.
     
    #1 goyote, Mar 20, 2018
    Last edited by a moderator: Mar 21, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you let us know the contents of the .htaccess file in the document root of this website? Ensure to replace real domain names and IP addresses with examples when pasting the contents.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. goyote

    goyote Registered

    Joined:
    Mar 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    darwin
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks for your reply.

    The .htaccess is the Drupal 7.57 default .htaccess file: drupal 7.57


    I suspect that this is not related to the contents of the .htaccess file as after I deleted the .well-known folder it was recreated during the openSSL check and seemed to be exactly the same as the folder I deleted but now the openSSL is working. No changes to the .htaccess were made.
     
    #3 goyote, Mar 21, 2018
    Last edited by a moderator: Mar 22, 2018
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It's possible the issue related to the ownership or permission values of the .well-known directory, but it's difficult to know for sure since it's already been deleted and re-created to solve the issue. Let us know if you notice any additional issues.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. goyote

    goyote Registered

    Joined:
    Mar 20, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    darwin
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks agian for your reply.

    Do you know if there are any special requirements for the contents of the .well-known folder to be publically accessible? The ownership and permission values did not seem to change when it was deleted and re-created.

    I've experienced this issue multiple times now and although I have a work around I would like to understand what's going on.
     
  6. sktest123

    sktest123 Well-Known Member

    Joined:
    Jan 31, 2017
    Messages:
    99
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    kochin
    cPanel Access Level:
    Root Administrator
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket the next time this happens so we can take a closer look to see what could be leading to the 403 error code during the AutoSSL validation attempt?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice