You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/12/20 13:55:46 UTC
[jira] [Commented] (INFRA-10973) Send X-Forwarded-Proto=HTTPS from
reverse-proxy to OFBIZ-VM
[ https://issues.apache.org/jira/browse/INFRA-10973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15065733#comment-15065733 ]
Jacques Le Roux commented on INFRA-10973:
-----------------------------------------
Sorry but it seems the trunk demo does not get it:
{code}
// Check if we SHOULD be secure and are not.
String forwardedProto = request.getHeader("X-Forwarded-Proto");
Debug.logError("forwardedProto ============================================" + forwardedProto, module);
boolean isForwardedSecure = UtilValidate.isNotEmpty(forwardedProto) && "HTTPS".equals(forwardedProto.toUpperCase());
{code}
I have added the
{code}
Debug.logError("forwardedProto ============================================" + forwardedProto, module);
{code}
line, but get this in log:
{code}
2015-12-20 12:51:21,814 |ttp-bio-8080-exec-12 |RequestHandler |E| forwardedProto ============================================null
2015-12-20 12:51:21,921 |ttp-bio-8080-exec-12 |RequestHandler |E| Got a insecure (non-https) form POST to a secure (http) request [login], returning error
{code}
thanks
> Send X-Forwarded-Proto=HTTPS from reverse-proxy to OFBIZ-VM
> -----------------------------------------------------------
>
> Key: INFRA-10973
> URL: https://issues.apache.org/jira/browse/INFRA-10973
> Project: Infrastructure
> Issue Type: Bug
> Components: Other/Misc
> Reporter: Jacques Le Roux
> Assignee: Daniel Gruno
> Priority: Blocker
>
> I have recently secured some HTTP headers in OFBiz (still WIP OFBIZ-6766). We now need the reverse-proxy in front of OFBIZ-VM to send X-Forwarded-Proto=HTTPS.
> This is blocking our trunk demo in some cases (webtools)
> Thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)