We have a JIRA and a Confluence behind a F5 Firewall / Proxy. SSL is managed by the F5.
JIRA should be accessible through https://www.mydomain.com/jira
Confluence should be accessible through https://www.mydomain.com/confluence
Contextpath in server.xml is set on both Servers.
We added the following Parameters in the connector:
- proxyName="www.mydomain.com"
- proxyPort="443"
- scheme="https"
- secure="true"
When we now access JIRA or Confluence we get lots of errors:
Jira:
2016-11-02 16:11:58,494 http-nio-8080-exec-6 WARN mad 971x467x1 1uf2vh9 193.174.118.227 /rest/analytics/1.0/publish/bulk [c.a.p.r.c.security.jersey.XsrfResourceFilter] Additional XSRF checks failed for request: https://www.mydomain.com/jira/rest/analytics/1.0/publish/bulk , origin: null , referrer: http://www.mydomain.com/jira/plugins/servlet/whitelist , credentials in request: true , allowed via CORS: false
Confluence:
2016-11-02 15:57:20,071 WARN [http-nio-8090-exec-10] [common.security.jersey.XsrfResourceFilter] passesAdditionalBrowserChecks Additional XSRF checks failed for request: https://www.mydomain.com/confluence/rest/analytics/1.0/publish/bulk , origin: null , referrer: http://www.mydomain.com/confluence/login.action , credentials in request: true , allowed via CORS: false
-- referer: http://www.mydomain.com/confluence/login.action?os_destination=%2Findex.action&permissionViolation=true | url: /cf/rest/analytics/1.0/publish/bulk | traceId: aeee4a16b71b21e9 | userName: anonymous
Something seems to be wrong with the configuration.
The Request is HTTPS the referrer is only HTTP.
Any idea how to solve this?