在用户和CAS之间有一个负载均衡器。负载均衡器将选中allow The SSL证书。但是从负载均衡器到CAS的连接将是HTTP。
如何配置cas,使其能够监听HTTP?
我已经在我的cas.properties中尝试过了,但没有解决我的问题:
cas.server.httpProxy.enabled=true
cas.server.httpProxy.secure=false ## changed from True
cas.server.httpProxy.protocol=AJP/1.3
cas.server.httpProxy.scheme=http ## changed to http
cas.server.httpProxy.redirectPort=8080
cas.server.httpProxy.proxyPort=8080
cas.server.httpProxy.attributes.attributeName=attributeValue我有一个警告:“不安全的连接您当前正在通过不安全的连接访问CAS。单点登录将不起作用。为了让单点登录工作,您必须通过HTTPS登录。”但警告依然存在。https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#http-proxying
发布于 2018-11-15 01:02:38
尝试添加
cas.server.http.port=8080
cas.server.http.protocol=org.apache.coyote.http11.Http11NioProtocol
cas.server.http.enabled=truehttps://stackoverflow.com/questions/47806153
复制相似问题