Certbot - Unable to Pass Challenge - DNS A/AAAA Records Not Present for Domain

Note: we already configure ssl on same server for another domain mspconcepts.com.

Please help ASAP help must be appreciated.

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:mspsystems.co.uk

I ran this command:./certbot-auto --apache

It produced this output:
[root@localhost local]# ./certbot-auto --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache

Which names would you like to activate HTTPS for?


1: mspsystems.co.uk
2: www.mspsystems.co.uk


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter ‘c’ to cancel): 2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.mspsystems.co.uk
Waiting for verification…
Challenge failed for domain www.mspsystems.co.uk
http-01 challenge for www.mspsystems.co.uk
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

My web server is (include version):apache2.4

The operating system my web server runs on is (include version): centos 6

My hosting provider, if applicable, is: 1and1

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.33.1

Hi @msp1

your www - version has ipv4- and ip6 - addresses ( https://check-your-website.server-daten.de/?q=mspsystems.co.uk ):

Host T IP-Address is auth. ∑ Queries ∑ Timeout
mspsystems.co.uk A 202.131.107.107 yes 1 0
AAAA yes
www.mspsystems.co.uk A 202.131.107.107 yes 1 0
AAAA 2001:8d8:1000:3096:d0cf:f6eb:5be4:e84a yes

But your ipv6 doesn't work:

Domainname Http-Status redirect Sec. G
http://mspsystems.co.uk/
202.131.107.107 301 https://mspsystems.co.uk/ 0.300 A
http://www.mspsystems.co.uk/
202.131.107.107 301 https://www.mspsystems.co.uk/ 0.280 A
http://www.mspsystems.co.uk/
2001:8d8:1000:3096:d0cf:f6eb:5be4:e84a 301 http://mspsystems.co.uk/ 0.523 D
https://mspsystems.co.uk/
202.131.107.107 301 https://www.mspsystems.co.uk/ 1.597 B
https://www.mspsystems.co.uk/
202.131.107.107 200 2.560 N
Certificate error: RemoteCertificateNameMismatch
https://www.mspsystems.co.uk/
2001:8d8:1000:3096:d0cf:f6eb:5be4:e84a -10 0.050 P
SecureChannelFailure - The request was aborted: Could not create SSL/TLS secure channel.
http://mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
202.131.107.107 301 https://mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 0.280 A
Visible Content: Moved Permanently The document has moved here . Apache/2.2.15 (CentOS) Server at mspsystems.co.uk Port 80
http://www.mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
202.131.107.107 301 https://www.mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 0.287 A
Visible Content: Moved Permanently The document has moved here . Apache/2.2.15 (CentOS) Server at www.mspsystems.co.uk Port 80
http://www.mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de
2001:8d8:1000:3096:d0cf:f6eb:5be4:e84a 204 0.050 A
Visible Content:
https://mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 301 https://www.mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de 1.296 A
Visible Content:
https://www.mspsystems.co.uk/.well-known/acme-challenge/check-your-website-dot-server-daten-dot-de -10 0.066 P
SecureChannelFailure - The request was aborted: Could not create SSL/TLS secure channel.

ipv6 + http + www + /.well-known/acme-challenge has a wrong http status 204 fetching an unknown file.

That's critical, Letsencrypt prefers ipv6.

So:

  • remove your ipv6 address, recheck your domain, then create a new certificate and install it (ipv4 and ipv6), then fix your ipv6 (or)
  • fix your ipv6.

PS: But you use a new Letsencrypt certificate:

CN=mspsystems.co.uk
	24.04.2019
	23.07.2019
expires in 90 days	mspsystems.co.uk - 1 entry

That has only one domain name, so the www version isn't secure. You should create one certificate with both domain names. That's normally easier then having two certificates and two vHosts.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.