Hello Thomas,
The configuration you'd be looking for is the '[header-names]' stanza.
Here is the configuration file reference :
[header-names]
#
# This stanza controls the addition of HTTP headers into the request which is
# passed to junctioned applications. Each entry within the stanza will be of
# the format:
# <header-data> = [+]<header-name>
#
# where:
# <header-data> : the type of data which will be inserted.
# <header-name> : the name of the HTTP header which will hold the data. The
# header-name can be prefixed with the '+' character if you
# wish to append to any existing header instead of
# overwriting the existing header.
#
# The <header-data> may be one of the following values:
#
# server-name : The ISAM authorization server name for the WebSEAL server.
# This is the name which is used in the "server task"
# commands.
# client-ip-v4 : The IPv4 address of the client of this request.
# client-ip-v6 : The IPv6 address of the client of this request.
# client-port : The port which is used by the client of this request.
# Please note that this is the client source port, and not
# the destination port.
# host-name : The host name of the WebSEAL server. The host name will
# be obtained from the web-host-name configuration entry
# within the [server] stanza (if specified), or the host
# name of the machine itself.
# httphdr{<name>} : A HTTP header from the request, as specified by the <name>
# field. If the HTTP header is not found in the request
# the value contained within the [server]
# tag-value-missing-attr-tag configuration entry will be
# used as the value for the header.
#
# For example:
# client-ip-v4 = +X-Forwarded-For
# httphdr{host} = X-Forwarded-Host
# host-name = X-Forwarded-Server
server-name = iv_server_name
===
So, if you wanted to add the 'X-Forwarded-Proto' then you'd have configuration like :
[header-names]
httphdr{X-Forwarded-Proto} = X-Forwarded-Proto
Although, if the client is sending the header ISAM should not be filtering out that header in the first place.
You can use a pdweb.debug trace to see the headers coming from the Client and confirm that the header is even being sent by the Client in front of the Reverse Proxy instance.
------------------------------
JACK YARBOROUGH
------------------------------
Original Message:
Sent: Fri October 11, 2019 10:05 AM
From: Thomas Renner
Subject: ISAM WebSeal: Using of header "X-Forwarded-Proto"
Hello Team,
we read following IBM note that WebSeal can pass specific X-Forwarded header.
In this case we want to pass the X-Forwarded-Proto (HTTP or HTTPS) but we can find this config in the note. Is it possible to pass this header? If yes, how do we set the entry in WebSeal.conf?
Thanks & best regards
Thomas
------------------------------
Thomas Renner
------------------------------