My domain is: mukkai.in
I ran this command: sudo certbot --test-cert
It produced this output:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for mukkai.in and 2 more domains
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: mukkai.in
Type: connection
Detail: 68.199.52.2: Fetching http://mukkai.in/.well-known/acme-challenge/6UZNm2kWKzx4sWBr8SDZTv0duSK24bYMYc1nCfnvj5U: Timeout during connect (likely firewall problem)
Domain: www.mukkai.in
Type: connection
Detail: 68.199.52.2: Fetching http://www.mukkai.in/.well-known/acme-challenge/NY313KKdyBVuraUgHTr0tEtq49fLIj9jHONKJbVgtcg: Timeout during connect (likely firewall problem)
Domain: mynas.mukkai.in
Type: connection
Detail: 68.199.52.2: Fetching http://mynas.mukkai.in/.well-known/acme-challenge/mKeXVt0P_MCQnrm18c9mJkXcnIP7FvVhVVfN66uXyr4: Timeout during connect (likely firewall problem)
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.
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): nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 22.04 LTS
My hosting provider, if applicable, is: Self hosted on a 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): 1.29
$ cat /etc/nginx/sites-enabled/mukkai.in
server {
listen 80;
root /var/www/mukkai.in/html;
server_name mukkai.in mynas.mukkai.in www.mukkai.in;
location ~/.well-known {
root /var/www/mukkai.in/html;
allow all;
}
}
I even manually created a test file and looked it up with
mukkai.in/.well-known/acme-challenge/test.txt and I can see the file