Hello,
My domain is: bstpoc.serviceconnect.defence.gov.au
I ran this command: certbot certonly and certbot certonly --webroot
It produced this output:
Input the webroot for bstpoc.serviceconnect.defence.gov.au: (Enter 'c' to
cancel): C:\Program Files\Apache\Tomcat 9.0\webapps\ROOT
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: bstpoc.serviceconnect.defence.gov.au
Type: dns
Detail: DNS problem: query timed out looking up A for bstpoc.serviceconnect.defence.gov.au; DNS problem: query timed out looking up AAAA for bstpoc.serviceconnect.defence.gov.au
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): Apache Tomcat 9
The operating system my web server runs on is (include version): Windows Server 2019
My hosting provider, if applicable, is:n/a
I can login to a root shell on my machine (yes or no, or I don't know): 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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 2.6.0. Tried also 2.8.0
We have turned off local firewall, removed Network Security Group in Azure, disabled Group policies but no luck. No change was made recently. Website stopped working since yesterday. Status in azure showing: Backend server certificate expired. Checked certificate and it is valid till March 2024. DNS entry is correct.
If we use " " for Input the webroot for bstpoc.serviceconnect.defence.gov.au: (Enter 'c' to
cancel): "C:\Program Files\Apache\Tomcat 9.0\webapps\ROOT" it says "C:\Program Files\Apache\Tomcat 9.0\webapps\ROOT" does not exist or is not a
directory. Tried using this path below as well (screenshot attached) but no luck.
Kindly assist us in resolving the issue.