Skip to main content

[CPANEL-25899] checkallsslcerts fails when the hostname is assigned an IPv6 address

Comments

20 comments

  • cPanelMichael
    Hello @k2tec, Can you verify if you are using any third-party web server applications on this system? A recent report notes a similar problem and workaround when using Nginx: Thank you.
    0
  • k2tec
    Hello Michael, In all the years it is running no other server applications are installed. The server are all installed with CSF, Letsencrypt. The thread with the nginx I have read. Maybe it is the old mixed setup with Letsencrypt. But I can't verify this.
    0
  • cPanelMichael
    Hello @k2tec, Can you open a
    0
  • k2tec
    Your support request ID: 11539333
    0
  • k2tec
    The problem was the IPv6 IP range. [QUOTE]After taking a look at your server I noticed that your servers shared IPv6 address is not a single IPv6 address but rather an entire /64.
    [QUOTE]I believe this is the root cause of the issue and you will need to add a single IPv6 address(aka a /128) from the range you have to the server and set that as your shared IPv6 address. You can read more about how to properly configure IPv6 for cPanel servers at the link below. **************************************************************************
    0
  • cPanelMichael
    Hello @k2tec, Edit. Here's the most recent update on this issue: The /usr/local/cpanel/bin/checkallsslcerts warnings appear because HTTP domain control validation will fail for the server's hostname when it's assigned an IPv6 address (the corresponding IPv6 virtual host entry isn't setup by default). Case CPANEL-25611 will address this issue. As a temporary workaround until the case is published, you can remove the AAAA DNS record for the server's hostname, manually run /usr/local/cpanel/bin/checkallsslcerts to ensure DCV (domain control validation) succeeds, and then re-add the AAAA DNS record for the server's hostname. Thank you.
    0
  • k2tec
    Thanks Michael, So far the solution above has created a certificat for both VPSen. Placed back the IPv6 on the server-services and the IPv6 on all users. regards, Tom
    0
  • AlanB
    I have the same issue and all the hoops we have to jump thru to "maybe " fix it is scary for some. How do we even know what IPv6 range to add ? This happened to me about a month ago and is still and issue. The following cPanel service generated warnings from the checkallsslcerts script. ? cpanel The system failed to acquire a signed certificate from the cPanel Store because of the following error: Neither HTTP nor DNS DCV preflight checks succeeded! This notice is the result of a request from "/usr/local/cpanel/bin/checkallsslcerts".
    0
  • cPanelMichael
    Hello @AlanB, The /usr/local/cpanel/bin/checkallsslcerts warnings appear because HTTP domain control validation will fail for the server's hostname when it's assigned an IPv6 address (the corresponding IPv6 virtual host entry isn't setup by default). Case CPANEL-25611 will address this issue. As a temporary workaround until the case is published, you can remove the AAAA DNS record for the server's hostname, manually run /usr/local/cpanel/bin/checkallsslcerts to ensure DCV (domain control validation) succeeds, and then re-add the AAAA DNS record for the server's hostname. Thank you.
    0
  • cPanelMichael
    I have an open ticket with cPanel support, but so far they have not been able to resolve the issue.

    Hi @jmig, Can you share the ticket number? Thank you.
    0
  • bellwood
    If you're comfortable editing httpd.conf, on/around line 305 is the default vhost for your servers' IPv4 address. If you copy that virtualhost block and change the IPv4 to your servers main IPv6 and insert it directly after (so you now have both a default IPv4 and IPv6 vhost) and then restart apache you'll be able to run /usr/local/cpanel/bin/checkallsslcerts and receive a certificate without issue. While this is way easier than messing with DNS, you can bork up your Apache config and it's not supported by cPanel. Note: After /usr/local/cpanel/bin/checkallsslcerts completes, it will rebuild and restart Apache - removing the new vhost block you added - so there's no need to go back in and change/remove it.
    0
  • cPanelMichael
    Hello Everyone, The following case was included in cPanel & WHM version 78.0.15: Implemented case CPANEL-25899: Fallback to IPv4 DCV when IPv6 DCV fails for known proxies. This should address the issue reported in this thread. Additionally, case CPANEL-25611 is still planned for publication in an upcoming version 78 build to ensure the IPv6 virtual host for the server's main shared IPv6 address is setup when the httpd.conf file is built. I'll update this thread again when this case is published. Thank you.
    0
  • bellwood
    Heeey we got a back port! Someone at cPanel scream "thanks Benny" across the office ;)
    0
  • cPanelMichael
    Hello Everyone, The additional case (CPANEL-25611) was published as part of cPanel & WHM version 78.0.20 (now available on the CURRENT release tier): Fixed case CPANEL-25611: Fix checkallsslcerts for servers with an IPv6 address. Let us know of any additional issues after upgrading to version 78.0.20 or higher. Thanks!
    0
  • ericc06
    Hello, Logged as root in WHM v.78.0.21, I renewed 2 self-signed SSL certificates yesterday. This morning we received this email from the system: The following cPanel service generated warnings from the checkallsslcerts script. The system failed to acquire a signed certificate from the cPanel Store because of the following error: Neither HTTP nor DNS DCV preflight checks succeeded! This notice is the result of a request from "/usr/local/cpanel/bin/checkallsslcerts". The system generated this notice on Tuesday, April 30, 2019 at 11:20:04 PM UTC. Is this warning related to the present case [CPANEL-25899]? What can I do to fix this? There is no AAAA record in the DNS. The web server is Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 I opened a ticket for this. Support Request ID: 12154123 Thank you.
    0
  • ericc06
    Hello, Logged as root in WHM v.78.0.21, I renewed 2 self-signed SSL certificates yesterday. This morning we received this email from the system: The following cPanel service generated warnings from the checkallsslcerts script. The system failed to acquire a signed certificate from the cPanel Store because of the following error: Neither HTTP nor DNS DCV preflight checks succeeded! This notice is the result of a request from "/usr/local/cpanel/bin/checkallsslcerts". The system generated this notice on Tuesday, April 30, 2019 at 11:20:04 PM UTC. Is this warning related to the present case [CPANEL-25899]? What can I do to fix this? There is no AAAA record in the DNS. The web server is Apache/2.4.39 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 I opened a ticket for this. Support Request ID: 12154123 Thank you.

    In my case it seems that the problem comes from a DNS configuration issue. To be confirmed...
    0
  • AlanB
    Still not working. failed to acquire a signed certificate same error since my first post and I have done all requested but the AAA is not applicable .
    0
  • cPanelMichael
    Still not working. failed to acquire a signed certificate same error since my first post and I have done all requested but the AAA is not applicable .

    Hello @AlanB, Can you open a
    0
  • AlanB
    Hello Everyone, The additional case (CPANEL-25611) was published as part of cPanel & WHM version 78.0.20 (now available on the CURRENT release tier): Fixed case CPANEL-25611: Fix checkallsslcerts for servers with an IPv6 address. Let us know of any additional issues after upgrading to version 78.0.20 or higher. Thanks!

    Problem continues and is very annoying. Moving away from GoDaddy and or cPanel to see if it stops.
    0
  • cPanelMichael
    Problem continues and is very annoying. Moving away from GoDaddy and or cPanel to see if it stops.

    Hi @AlanB, Feel free to open a
    0

Please sign in to leave a comment.