My domain is: boulangeriecyriltreveys.fr
I ran this command: certbot --apache -d boulangeriecyriltreveys.fr -d www.boulangeriecyriltreveys.fr -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Requesting a certificate for boulangeriecyriltreveys.fr and www.boulangeriecyriltreveys.fr
Performing the following challenges:
http-01 challenge for boulangeriecyriltreveys.fr
http-01 challenge for www.boulangeriecyriltreveys.fr
Waiting for verification...
Challenge failed for domain boulangeriecyriltreveys.fr
Challenge failed for domain www.boulangeriecyriltreveys.fr
http-01 challenge for boulangeriecyriltreveys.fr
http-01 challenge for www.boulangeriecyriltreveys.fr
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: boulangeriecyriltreveys.fr
Type: unauthorized
Detail: The key authorization file from the server did not match this challenge. Expected "5a25oRP1X5IVaoojVSTrjjG_rxEnW8aOUIde2ErnfUQ.FT27V0tcfkKK39JyEYrMhoODTPxc-nIt8QIVAVJt9vo" (got "5a25oRP1X5IVaoojVSTrjjG_rxEnW8aOUIde2ErnfUQ.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8")
Domain: www.boulangeriecyriltreveys.fr
Type: unauthorized
Detail: The key authorization file from the server did not match this challenge. Expected "bcnmfvAEqDvn8uNmXwbW8PI8Xan6_rt6ZjqJdc27_V8.FT27V0tcfkKK39JyEYrMhoODTPxc-nIt8QIVAVJt9vo" (got "bcnmfvAEqDvn8uNmXwbW8PI8Xan6_rt6ZjqJdc27_V8.4E3VCTFsySjUrqnCg0ooULx-3kbdPBygi0aWkvg5Gd8")
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Apache 2
The operating system my web server runs on is (include version): Ubuntu 22.04
My hosting provider, if applicable, is: OVH
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 1.21.0