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. crt.sh | 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:sudo certbot -v certonly --register-unsafely-without-email --agree-tos -d mydomain.com
It produced this output:Cleaning up challenges
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):
The operating system my web server runs on is (include version):VM kali linux - Apache/2.4.54 (Debian)
My hosting provider, if applicable, is: windows host
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
As you haven't provided any information that can be used to troubleshoot your problem, I am left to use my ...
It said that these two things seem contradictory:
"The Certificate Authority failed to verify the temporary nginx configuration"
"VM kali linux - Apache/2.4.54 (Debian)"
Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
Since these are Domain Validation (DV) certificates the Domain Name System (DNS) is used extensively in the validation process as well a allowing us to assist here on Let's Encrypt community.
DNS Queries need to give consistent results from any location on the Internet, all your authoritative DNS Servers for the Domain need to also give consistent results as well.
Testing and debugging are best done using the Staging Environment as the Rate Limits are much higher. Rate Limits are per week (rolling).
And to assist with debugging there is a great place to start is Let's Debug.
That's funny, you're the second person today who's posted that their domain is mydomain.com. Are you sure you own that domain name? Or are you just using that as a placeholder for your real domain name? If the latter, please stop and tell us the real domain name.