Skip to main content

checkallsslcerts using old hostname (and failing issuance) - unable to find source

Comments

7 comments

  • rbairwell

    Brilliant - thanks cPRex : I did think /var/cpanel/hostname_history.json was just a log file - I wasn't actually expecting it to be consulted during the checkallsslcerts command.

    0
  • cPRex Jurassic Moderator

    I'm glad that's all it took!

    0
  • Éssiou! -

    Hi!!! I have the same problem (for a while), and I've tried everything with no success. In my case, the file is not available: ‘/var/cpanel/hostname_history.json’: No such file or directory 

    Any other options? Thanks :) 

    I got these errors when "/usr/local/cpanel/bin/checkallsslcerts" :

    The system will check for the certificate for the “cpanel” service.
    The system will attempt to replace the self-signed certificate for the “cpanel” service with a signed certificate from the “Let’s Encrypt™” provider.
    The system will attempt to install a certificate for the “cpanel” service from the system SSL storage.
    None of the certificates in the system SSL storage were acceptable to use for the “cpanel” service.
    The system will attempt to get a new certificate for the domains: vps-3ad4caef.vps.ovh.net, autoconfig.vps-3ad4caef.vps.ovh.net, autodiscover.vps-3ad4caef.vps.ovh.net, cpanel.vps-3ad4caef.vps.ovh.net, cpcalendars.vps-3ad4caef.vps.ovh.net, cpcontacts.vps-3ad4caef.vps.ovh.net, ipv6.vps-3ad4caef.vps.ovh.net, mail.vps-3ad4caef.vps.ovh.net, webdisk.vps-3ad4caef.vps.ovh.net, webmail.vps-3ad4caef.vps.ovh.net, whm.vps-3ad4caef.vps.ovh.net, www.vps-3ad4caef.vps.ovh.net
    The system failed to validate domain control for the domain “autoconfig.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for autoconfig.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for autoconfig.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “cpcontacts.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for cpcontacts.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for cpcontacts.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “webdisk.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for webdisk.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for webdisk.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “mail.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (Therewas a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for mail.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for mail.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “ipv6.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (Therewas a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for ipv6.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for ipv6.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “whm.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for whm.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem:NXDOMAIN looking up AAAA for whm.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “autodiscover.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for autodiscover.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for autodiscover.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “www.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for www.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem:NXDOMAIN looking up AAAA for www.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “cpanel.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for cpanel.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for cpanel.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “cpcalendars.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns(There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for cpcalendars.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for cpcalendars.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    The system failed to validate domain control for the domain “webmail.vps-3ad4caef.vps.ovh.net” using the “HTTP” DCV method: 400 urn:ietf:params:acme:error:dns (There was a problem with a DNS query) (DNS problem: NXDOMAIN looking up A for webmail.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for webmail.vps-3ad4caef.vps.ovh.net - check that a DNS record exists for this domain)
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.cpanel.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.whm.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.mail.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.www.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.autoconfig.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.ipv6.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.cpcontacts.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.webdisk.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.cpcalendars.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.webmail.vps-3ad4caef.vps.ovh.net.”.
    warn [checkallsslcerts] Cpanel::DnsUtils::Install::Processor::_add_error: There is no zone file on this system that can contain “_acme-challenge.autodiscover.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.cpanel.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.whm.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.mail.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.www.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.autoconfig.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.ipv6.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.cpcontacts.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.webdisk.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.cpcalendars.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.webmail.vps-3ad4caef.vps.ovh.net.”.
    Cpanel::DnsUtils::Install::Processor:678: There is no zone file on this system that can contain “_acme-challenge.autodiscover.vps-3ad4caef.vps.ovh.net.”.
    (_acme-challenge.autoconfig.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.autodiscover.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.cpanel.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.cpcalendars.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.cpcontacts.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.ipv6.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.mail.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.webdisk.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.webmail.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.whm.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone]
    (_acme-challenge.www.vps-3ad4caef.vps.ovh.net): [FAIL:missing zone] at /usr/local/cpanel/Cpanel/DnsUtils/Batch.pm line 258.
    0
  • cPRex Jurassic Moderator

    I only see one hostname being checked in that output.  That looks like a default hostname your provider would have configured when the server was initially created, so you may need to reach out to OVH to see if that is configured in another area of the system.

    0
  • Éssiou! -

    Thanks a lot for your response, I will check with OVH. If something comes up, I'll share (to help anyone with the same problem). Thanks a lot.

    0
  • cPRex Jurassic Moderator

    Sure thing!

    0

Please sign in to leave a comment.