IBM Verify

 View Only
Expand all | Collapse all

How to intergration WebSEAL behind an external WAF (Imperva) without SSL

  • 1.  How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 10 days ago
    Hello experts from IBM, I am currently deploying the iam system using the webseal component version 10.0.7, the integration model is as follows: 
    end-user ---https---> LB (F5-Big IP) ---(ssl)---> WAF (Imperva)---(https)----> Webseal reverse proxy ---(https)---> Backend app
    After configuring, when the user logs in to the url: https://iam.mydomain.com, an error is reported, unable to connect, checking the request log of the webseal reverse proxy, there is an error as follows: DPWIV1227W Webseal could not establish a secure connection with an incoming client. if client certificate authentication is not enabled check the webseal server certificate (function call: gsk_secure_soc_init; failed error: 0x19a GSK_ERROR_BAD_REQUEST_MESSAGE; 10.10.1.1 <ip of waf>) we installed cert on both LB & WAF same as a cert in webseal. We look forward to receiving everyone's help and advice on this usecase


    ------------------------------
    tuan dung duong
    ------------------------------


  • 2.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 8 days ago

    You usually receive this error message when you attempt to access the HTTPS port over HTTP.  I would suggest that you check the configuration of your WAF (Imperva) device to ensure that it is actually connecting to WebSEAL with HTTPS instead of HTTP.

     

    I hope that this helps.

     

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     

     

     






  • 3.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 7 days ago

    @Scott Exton: dear Scott, Could you guide me how to intergrate webseal reverse proxy behind the external WAF (i'm using imperva appliance) with ssl end-to-end, i don't find any IBM documents about this topic for IBM IAM/ISVA intergration. for this intergration, what importance params need to configure in webseal reverse-proxy?

    thank you very much



    ------------------------------
    tuan dung duong
    ------------------------------



  • 4.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 7 days ago

    Unfortunately I cannot help here as it would appear that this is a configuration issue with your WAF, and I know nothing about Imperva.  It looks like Imperva is sending HTTP requests to port 443 of the WebSEAL server.

     

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

    Phone: 61-7-5552-4008
    E-mail: scotte@au1.ibm.com

    1 Corporate Court
    Bundall, QLD 4217
    Australia

     

     

     






  • 5.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 7 days ago

    If Imperva is sending HTTP requests to the Web Reverse Proxy you can set the following to allow the Reverse Proxy to accept that traffic:

    [server]
    ...
    web-http-port = 443
    web-http-protocol = https

    https://www.ibm.com/docs/en/sva/10.0.7?topic=stanza-web-http-port

    https://www.ibm.com/docs/en/sva/10.0.7?topic=stanza-web-http-protocol

    Try that out and confirm whether you get positive results.



    ------------------------------
    JACK YARBOROUGH
    ------------------------------



  • 6.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted yesterday

    Thank JACK and Scott Exton, we try to configure with your options in Reverse Proxy, but it's not right option, we still got the error code: DPWIV1227W . 

    Then we try reconfigured in WAF with option encrypt in virtual service, it's worked nice, current we check logs request, message log in webseals, we don't find any information about real client' IP, we only find the WAF's IP which facing with reverse-proxy, in LB, WAF we also configured with x-forwarded-for option in header request. do you have any idea for this usecase?



    ------------------------------
    tuan dung duong
    ------------------------------



  • 7.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted yesterday

    If the WAF is setting the X-forward-For HTTP header correctly you can configure WebSEAL to use this instead of the network client IP address. How you do this will really come down to exactly what you are trying to achieve.

     

     

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     

     

     






  • 8.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 21 hours ago

    thank Scott, how do I configure WebSEAL to use X-forward-For HTTP header from external WAF?



    ------------------------------
    tuan dung duong
    ------------------------------



  • 9.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 21 hours ago

    In what way?  Are you talking about using it in policy decisions (in a POP), in the request log, something else?

     

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     






  • 10.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 20 hours ago

    yes Scott, we'll use it in policy decisions (in a POP), in the request log



    ------------------------------
    tuan dung duong
    ------------------------------



  • 11.  RE: How to intergration WebSEAL behind an external WAF (Imperva) without SSL

    Posted 7 hours ago

    I would suggest that you take a look at the 'client-ip-http-header' configuration entry within the '[aznapi-configuration]' stanza.  This can be used to set the HTTP header which will be used as the client IP address in authorization decisions and auditing records.

     

    In order to add the HTTP header to the request log you just need to modify the 'request-log-format' configuration entry within the '[logging]' stanza, using the '%{header}i' macro to include the HTTP header in the request log.

     

    I hope that this helps.

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">