Hello guys,
First context, I do have a server running Ubuntu, and the purpose its to have a lot of subdomains with SSL, since is a system used for email tracking. I already have about 970 subdomains with SSL, but yesterday certbot started giving me problems.
My domain is: sub.fakedomainfake.com
I ran this command: sudo certbot --nginx --no-redirect -d sub.fakedomainfake.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for sub.fakedomainfake.com
Waiting for verification...
Challenge failed for domain sub.fakedomainfake.com
http-01 challenge for sub.fakedomainfake.com
Cleaning up challenges
Some challenges have failed.
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: certbot 0.40.0
But if in the command above I run --debug-challenges for any new subdomain and then press Enter it deploys without any problem. By the way I run Nginx, before each certbot for a specific sub-domain I create a file with the subdomain name and nginx configuration in nginx folder /etc/nginx/sites-enabled.
The intention is to deploy via cronjob, and using --debug-challenges wouldn't be a problem - but debug-challenges gives error if I try to give Enter in the command for interaction with the output: Skipped user interaction because Certbot doesn't appear to be running in a terminal.
So it comes to this for me, I do think is a timeout problem for the challenges, because --debug-challenges loads them before my Enter. Do you think this is a timeout of the server? Since the are now many hashes in nginx hash table and a lot of challenges to check? Seems to me that this is the problem.
Thanks in advanced