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!

SOLVED DCV error AutoSSL

Discussion in 'Security' started by jimlongo, Apr 7, 2019.

Tags:
  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Receiving the following error when Auto SSL is run on this subdomain.

    Code:
    WARN Local HTTP DCV error (whmcs.example.cloud): The system queried for a temporary file at “http://whmcs.example.cloud/.well-known/pki-validation/C80C71C7CE884124B1D7CF3C58CABCA4.txt”, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist.
    I have read through the common errors, etc.,

    Thing is I can reach the address properly. For instance if I put a test.txt file in this location it can be reached at http://whmcs.example.cloud/.well-known/pki-validation/test.txt so it doesn't seem to be a DNS problem. Rather the file is not being created.
     
  2. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Should I open a ticket?
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @jimlongo,

    Can you verify which cPanel & WHM version is installed on this system? Version 78.0.20 includes a couple of cases designed to address DNS resolution issues:

    Thank you.
     
  4. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Thanks,

    It is 78.0.20, and I just ran it again with the same error.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi @jimlongo,

    Can you open a support ticket so we can take a closer look to see why AutoSSL validation is failing for this domain? You can post the ticket number here and I'll link this thread to it.

    Thank you.
     
  6. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    ticket #11915331

    Thank you.
     
  7. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    from support (note I'm still waiting for DNS to propagate . . . )

    Code:
    This is occurring due to the domain resolving to an IPv6.
    
    =================================
    └─# dig AAAA whmcs.mydomain.cloud +short
    2600:3c03::xxxxxx
    ========================
    
    However, Apache does not have an IPv6 VirtualHost present which is why the 404 error is occurring. 
    
    You'll need to add the IPv6 to the cPanel / WHM configuration following the documentation below:
    
    ================================================
    https://documentation.cpanel.net/display/80Docs/IPv6+Ranges
    https://documentation.cpanel.net/display/80Docs/Assign+IPv6+Address
    =======================================================
    
    Alternately, removing the AAAA records where the remote DNS is hosted will also resolve the issue.
    
    I'm trying to remove the AAAA records from the DNS management for this domain, mostly because the documentation noted in this response is very difficult to follow.
     
    cPanelMichael likes this.
  8. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    236
    Likes Received:
    16
    Trophy Points:
    68
    Unfortunately that fixed the DNS, but was followed by a permissions problem.
    At any rate it is fixed, all is well.
    Thanks for your help.
     
    cPanelMichael likes this.
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