I guess AJP is used for Apache httpd only. I use Nginx instead, it works fine.
William Jojo在 2021年11月15日星期一上午9:26:08 [UTC+8]寫道: > Ugh, of course it makes a difference. It is not using AJP any more... > Clearly some rest is in order... > > Bill > > On Sun, Nov 14, 2021 at 7:14 PM William Jojo <[email protected]> wrote: > >> Well, it seems adding the following: >> >> cas.server.tomcat.http-Proxy.protocol=HTTP/1.1 >> >> Makes a difference. Not entirely sure why. Can anyone shed light on this? >> >> Thank you! >> Bill >> >> On Sunday, November 14, 2021 at 6:08:11 PM UTC-5 William Jojo wrote: >> >>> Hello all, >>> >>> Whenever I try to used the Fawnoos doc on configuring the CAS (6.3 or >>> 6.4) embedded Tomcat behind a proxy, I always get: >>> >>> *The AJP Connector is configured with secretRequired="true" but the >>> secret attribute is either null or "". This combination is not valid.* >>> >>> Even with the following: >>> >>> server.port=8080server.ssl.enabled=falsecas.server.tomcat.http.enabled=falsecas.server.tomcat.http-proxy.enabled=truecas.server.tomcat.http-proxy.secure=truecas.server.tomcat.http-proxy.scheme=https >>> >>> If I turn all that off and let it start on the default of 8443, then it >>> runs, but not the way it was intended. >>> >>> Any thoughts on this? >>> >>> Thank you! >>> Bill >>> >>> >>> -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/1422d694-04f3-4b5c-a9c6-feea2e049da6n%40apereo.org.
