Certificate generation error


When I do certbot --apache i obtain the following error
Challenge failed for domain test.enigmedia.eu

My DNS record resolves the correct ip

My domain is: test.enigmedia.eu

I ran this command: certbot --apache

It produced this output:
ubuntu@testupdate:~$ sudo certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
No names were found in your configuration files. Please enter in your domain
name(s) (comma and/or space separated) (Enter 'c' to cancel): test.enigmedia.eu
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for test.enigmedia.eu
Waiting for verification...
Challenge failed for domain test.enigmedia.eu
http-01 challenge for test.enigmedia.eu
Cleaning up challenges
Some challenges have failed.


  • The following errors were reported by the server:

    Domain: test.enigmedia.eu
    Type: unauthorized
    Detail: The key authorization file from the server did not match
    this challenge

    To fix these errors, please make sure that your domain name was
    entered correctly and the DNS A/AAAA record(s) for that domain
    contain(s) the right IP address.

My web server is (include version): Apache 2.4.41-4ubuntu3.10

The operating system my web server runs on is (include version): Ubuntu Server

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
root@testupdate:/home/ubuntu# certbot --version
certbot 0.40.0

The IPv6 address for your domaion points to an OVH load balancer, but the IPv4 address points to an Ubuntu Apache server.

The wrong response is coming from the OVH load balancer.

If this is wrong, remove your domain's DNS IPv6 AAAA record.


Ok, I'll delete it and try.
Thanks a lot

1 Like

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