Some challenges have failed

I have nginx, gunicorn, django web server on Ubuntu Server 22.04.

Wanted to ask for help. I can provide log file.

Thanks
letsencrypt_log.txt (30.2 KB)

2 Likes

certbot.errors.ConfigurationError: Requested name 195.49.215.235 is an IP address. The Let's Encrypt certificate authority will not issue certificates for a bare IP address.

server_name algorithm.kz www.algorithm.kz 195.49.215.235;
"detail": "2a00:5da0:1000:1::2580: Invalid response from http://algorithm.kz/.well-known/acme-challenge/EVXADw_564jWQK3mHbwNFb34GpYovQgpQUdVwseO0rI: 404",
"detail": "2a00:5da0:1000:1::2580: Invalid response from http://www.algorithm.kz/.well-known/acme-challenge/59_xReqPzxnp4We8nrwYyCR0sTxhasm4LZPDdo2n01k: 404",

Does that site work via IPv6?
I dare say "not":
listen 80;

4 Likes

Thank you.

I have figured it out and it is working now.

My problem was in my nginx settings file. I shouldn't have wrote there IP address:
server name: example.com www.example.com (no ip address)

Also, I added IPv6 to my DNS lookup and to nginx settings file too.

4 Likes

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