Thomas wrote…
This means, the calling program can't verify the certificate.
Check whether all the intermediates are delivered by tomcat.
Furthermore, the calling program must know the root-certificate of your
webserver certificate.
If I look at a random website using 'openssl s_client -showce
Hello,
I am receiving the above error when a GitLab webhook tries to call my
servlet. The full text of the error states:
SSL_connect returned=1 errno=0 state=error: certificate verify failed
(unable to get local issuer certificate).
If I try to access any of the servlets running in the sam
Chris wrote...
So it looks like the backend service IS being called, but rejecting the request because
of the "UserAgent" object complaining about it.
I would log the User-Agent header from the request in your front-end before the
RequestDispatcher.forward() call, and if possible, also log it
Chris wrote…
The .forward() should keep all request headers (and many other things) in-tact.
You might want to log some things in plugins/whatever to see what is being done.
You should be using the *same objects* your servlet got for the request and response when
calling RequestDispatcher.for
I wrote...
Progress of sorts! The request is now returning 302 instead of 404!
Looking in the log files for the backend, it has a message that says “Robot
requests must be rejected” and the 302 response is due to a redirect to a
permission denied page.
My understanding was the .forward() me
Mark wrote...
RequestDispatcher operates within a given ServletContext (web application).
You are trying to do a cross-context dispatch - i.e. to another web
application. To do this you will need to:
- enable cross-context dispatch for the /plugins web application
https://tomcat.apache.org/to
Hello!
We have a commercial application that runs under Tomcat 8.5.65 (on
Windows Server 2019). In the tomcat/webapps directory there are the
following three directories (names changed):
backend
frontend
ROOT
The “frontend” directory contains the UI for the commercial application
and is, a