1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Send header apache to java (jboss) ajp

Discussion in 'Apache' started by ziferx, Mar 28, 2017.

  1. #1
    Hi everyone,

    i need send header content “X-Client-Cert” from Apache Web Server to java application deploy in Jboss, through AJP protocol.

    With directive below, in Apache Virtual Host, i check Header reach Jboss but application not found because can’t read public certificate client:

    RequestHeader set X-Client-Cert "%{SSL_CLIENT_CERT}s"

    When capture traffic in Jboss host with tcpdump i notice this trace:

    [truncated] X-Client-Cert: ——BEGIN CERTIFICATE——XXXXXXXXXXXXXXXXXXXXXXXXXX—END CERTIFICATE——

    The Header name is sent!! with content. But i need receive this one so that application be able to read public certificate client:

    [truncated] ——BEGIN CERTIFICATE——XXXXXXXXXXXXXXXXXXXXXXXXXX—END CERTIFICATE——

    Anyone know how remove header name “X-Client-Cert:” in apache side and only send data content?. Currently is impossible change source code in application side.

    Thanks in advance!
    Regards
     
    ziferx, Mar 28, 2017 IP