hello,
I have an ubuntu 22 with nginx, on a server inside our local network. I developed a php app, and I am trying to setup a certificate for it.
this is the result:
root@application-srv:/var/www/telefoni# certbot -v --nginx -d telefoni.newtimegroup.it
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for telefoni.newtimegroup.it
Performing the following challenges:
http-01 challenge for telefoni.newtimegroup.it
Waiting for verification...
Challenge failed for domain telefoni.newtimegroup.it
http-01 challenge for telefoni.newtimegroup.it
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: telefoni.newtimegroup.it
Type: unauthorized
Detail: 159.69.197.187: Invalid response from http://telefoni.newtimegroup.it/.well-known/acme-challenge/FLqowBL1C5z4Ar_0t9O7v91KrYHg6fDSk7LBOyRhtaY: 404
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed
how to solve this?
thanks a lot