Hi everyone I would like to configure let's encrypt with tomcat.
Tomcat is configured in the docker and nginx container on the host; before installing and running certbot, when on the browser I typed www.example.com the reverse proxy worked correctly giving me the tomcat screen as default page.
After launching and executing certbot, the latter sees the directive with the server_name in the configuration file and gives me ok results by generating the two certificates.
The problem is that when I go to the browser again, the message appears: "" "" "" "The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete . This problem can sometimes be caused by disabling or refusing to accept cookies. "" "" "" "" "
In my opinion it could be a problem that we need to configure let's encrypt also in the docker tomcat container and also configure the latter to communicate with the outside.
At this point a question arises: in this case let's encrypt should I configure it in the tomcat docker container, on nginx or both?
I hope for an answer
Hello everybody