The key authorization file from the server did not match this challenge

Hello everyone,

My domain is: www.helpdesk.dedienne-aero.com

I ran this command: sudo certbot --apache

It produced this output:

My web server is (include version): Ubuntu 20.04

The operating system my web server runs on is (include version):Which names would you like to activate HTTPS for?


1: www.helpdesk.dedienne-aero.com


Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 1
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.helpdesk.dedienne-aero.com
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain www.helpdesk.dedienne-aero.com
http-01 challenge for www.helpdesk.dedienne-aero.com
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.helpdesk.dedienne-aero.com
    Type: unauthorized
    Detail: The key authorization file from the server did not match
    this challenge
    "uzzKJdZChMvOoRnBYFwav4MWdjwogWQo0Pve5ylbf4E.ctUACDK3I6sJZMdzbj0Psq1hCkCxLkh5t6jn4lZUYKM"
    !=
    "uzzKJdZChMvOoRnBYFwav4MWdjwogWQo0Pve5ylbf4E.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8"

    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.

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

If your site is behind an OVH load balancer, you might need contact their support to figure out how to get this working.

A known issue that has come up on this forum previously is OVH's software interfering with Certbot's ability to obtain a certificate.

Since you are using OVH for DNS as well, you could consider using the Certbot OVH DNS plugin instead of --apache to work around this issue.

1 Like

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