Certbot failed to authenticate some domains (authenticator: apache)

sudo certbot --apache -d www.msmedikarnal.gov.in 
Saving debug log to /var/log/letsencrypt/letsencrypt.log 
Requesting a certificate for www.msmedikarnal.gov.in 

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reportedHelpJan 2022 - 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...

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problemHelpDec 2022 - 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...

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator manual, Installer None An unexpected error occurred:HelpOct 2023 - 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...

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:HelpNov 2021 - 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...

That is a common error. It can have many reasons. Please answer more of the questions you were shown when posting in the Help section. Thank you

=====================================

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:

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):

3 Likes

You should review the result from Let's Debug test site. Your CAA record does not allow Let's Encrypt issuance

3 Likes

My domain is:

  • www.msmedikarnal.gov.in

I ran this command:

  • sudo certbot --apache -d www.msmedikarnal.gov.in

It produced this output:

Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache 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):

  • Apache 2.4.x (or whatever version of Apache you're using)

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

  • Ubuntu 24.04 (or the version of Ubuntu you're using)

My hosting provider, if applicable, is:

  • Local server

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):

  • certbot 1.23.0

There is no point trying to figure out that problem until you change your DNS CAA record. Even if we fixed the '404' error you would not get a certificate with the CAA as it is.

Query results for CAA msmedikarnal.gov.in

;; ANSWER SECTION:
msmedikarnal.gov.in.	0	IN	CAA	0 issue "emsign.com"
3 Likes