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. https://crt.sh/?q=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: tnocmms.nic.in

I have redhat linux 7 server with 3 tomcat instances running for single domain , All are running for load balancing and i create /webapps/.well-known/acme-challenge for all of three instance and i generate file for verification from you site in this folder .
But when i verify it on browser by clicking link http://tnocmms.nic.in/.well-known/acme-challenge/lBS_wtjR-7m5Q0PC0jPSkaWOVWOoAYJSdVhul3ldvYQ

i got result

The requested URL /.well-known/acme-challenge/lBS_wtjR-7m5Q0PC0jPSkaWOVWOoAYJSdVhul3ldvYQ was not found on this server.


You’ll need to verify what’s the real path(absolute path) your website uses. And place .well-known in that path.

Thank you

Website is running on all of three instaces how can i know which tomcat is working at a time.

If you are fronting your 3x Tomcat instances with Apache httpd, you should just handle the request for /.well-known/acme-challenge/ at the Apache httpd level, and not ever let the request arrive at Tomcat.


AliasMatch /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge
ProxyPassMatch ^/\.well-known/acme-challenge/.* !

(assuming you are using ProxyPass to route requests to Tomcat).

Otherwise, your question is really unclear. Are you struggling to figure out how to make Tomcat serve static content from a directory?

You should create the .well-known in your public folder, I think in Apache the public folder name is htdocs.
So yeah you should put it there and also you might want to chmod the folder to 777 or the file that you upload to 777 but I think it’s not necessary.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.