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 web server is (include version):
Tomee9.1.3
The operating system my web server runs on is (include version):
Debian 12
My hosting provider, if applicable, is:
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):
2.11.0
Generally you use --standalone only when you do not plan to run a webserver. But, it looks like you have Tomee. Can you reach that server from the public internet on any port?
Using --standalone requires Certbot to have exclusive use of port 80 which means stopping any service that normally uses it. If you want a webserver on that port to redirect people from HTTP to your HTTPS it is not best to stop it just for the cert request.
You should look at using certbot certonly --webroot -w (folder) option instead.
Because of the "timeout" error I think there is a firewall or comms config issue still to work out regardless of method. That error meant the Let's Encrypt Auth Server could not reach your domain using HTTP (port 80). To use your Tomee/Tomcat server for an HTTP challenge you will also have to reach it on port 80. But, that is easier to debug than standalone which only listens while it is running.
Let us know how you want to proceed if you want further help.
I guess this is progress from the "timeout" problems. In any case, that nginx server looks like the hosting company parking facility
@satinder I think you need to work with your hosting company to sort out your basic setup. Focus on getting HTTP requests to your domain and Tomcat working from the public internet.
curl -i http://bjmanch.org/.well-known/acme-challenge/Test404
HTTP/1.1 200 OK
server: nginx/1.20.1
<!DOCTYPE html>
<html lang="en">
<head>
...
<title>Domain parking page</title>
...
</head>
<body>
...
<p>This domain name is parked for FREE by
<strong><a href="`https://fasthosts.co.uk/`