Certbot failed to authenticate some domains(authenticator: nginx)

My domain is: osceperutest.leodan.ai

I ran this command: sudo certbot certonly --nginx , or sudo certbot renew --dry-run

It produced this output: Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: osceperutest.leodan.ai
Type: unauthorized
Detail: 2a02:4780:27:1370:0:136a:50ae:3: Invalid response from http://osceperutest.leodan.ai/.well-known/acme-challenge/_LlUutgmMHHeJ1UM7JJap2mUAHdylzh3hGrBVg2oejc: 404

My web server is (include version): nginx/1.22.1 running through Uvicorn + Fastapi on python 3.11 and configured nginx to proxy my osceperutest.leodan.ai on port localhost:8000

The operating system my web server runs on is (include version): Debian 12

My hosting provider, if applicable, is: Hostinger, configured A record from subdomain osceperutest.leodan.ai to my IP on Azure VM

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 2.10.0

I attach the full log when run the command: sudo certbot certonly --nginx
Certbot log.txt (22.2 KB)

1 Like

Welcome to the community @danterran

The above error is using an IPv6 address (the 2a02:4780... address) from an AAAA record in your DNS.

Right now there isn't an AAAA record so did you already remove it?

Does that error still occur? If so, please show the latest error message too. Thanks

3 Likes

Amazing, I was on contact with my hostinger support and they created this AAAA by mistaken under IPv6 different than mine. After deleting it has successfully installed.

Many thanks !!!!

3 Likes

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