Problem
Load balancer's IP address observed in SSO/CID access logs, Client's IP address not visible.
Symptoms
Reverse Proxy server setting are updated in the SSO's win32.config/unix.config.
...
Log Snippet from SSO access logs, before change is applied:
Solution
You need to add below pattern on tomcat server in server.xml file.
pattern="%{X-Forwarded-For}i %h %l %u %t %r %s %b"
Panel |
---|
Example:<Valve className="org.apache.catalina.valves.AccessLogValve" directory="/logs/tomcat" prefix="sso_access_log" suffix=".txt" pattern="%{X-Forwarded-For}i %h %l %u %t %r %s %b" /> |
Also, update Tomcat using below:
Panel | ||
---|---|---|
| ||
cd /usr/local/ubisecure/ubilogin-sso/ubilogin |
Panel | ||
---|---|---|
| ||
cd /d "C:\Program Files\Ubisecure\ubilogin-sso\ubilogin" |
Log Snippet from SSO access logs, after change is applied:
...