Certbot renew --dry-run fails


I am using certbot 0.31.0 on ubuntu system and for a long time all was working fine. I am having 3 domains (with subdomains each one as well) but only the 2 of them are working. The one domain that is having other 2 subdomains cannot renew certificates. I have also checked the nginx condifguration with the ones that are working, but looks the same.

The error that i get is:

Domain: dev.domain.com
Type: unauthorized
Detail: Invalid response from http://dev.domain.com/.well-known/acme-challenge/7dAdJlGoox_GtLU9Q6t7z19Uo-J57W1077x-jxA20_E: 404

I have created manually the file in the provided path and can be downloaded. So i suppose that certbot cannot write to that path?? I have also deleted the certificate and try to create a new one (sudo certbot --nginx -d dev.domain.com) but the issue persists.

Any suggestions?

Appreciate any help.

Hi @Oratios, and welcome to the LE community forum :slight_smile:

I suggest you answer all the questions [without hiding anything]:

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):


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