configuring mod_proxy with JBoss EAP-7 running in standalone mode

Latest response

Hi,

I'm newbie here...i'm trying to configure web proxy to get my application so the set-up is

apache httpd 2.4 / mod_proxy (windows) => jboss-eap-7.0/standalone (linux)
in app we are using keycloak to validate the user then redirect to app if successful

the issue i'm getting whenever i try to access - Invalid ...redirect uri

in my httpd.conf:

ServerName prmeightqa.corp.com:443

SSLProtocol TLSv1.1 TLSv1.2
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
SSLProxyCipherSuite ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4:HIGH:MEDIUM:!LOW:!EXP:!SSLv2:!aNULL:!EDH:!ECDH:!ECDSA:!AESGCM:!eNULL:!NULL

    SSLEngine On 
    SSLProxyEngine on

    SSLProxyVerify none 
    SSLProxyCheckPeerCN off
    SSLProxyCheckPeerName off
    SSLProxyCheckPeerExpire off

    #SSLCertificateKeyFile conf/certs/server.key
    #SSLCertificateFile conf/certs/cert.cer 
    #SSLCACertificateFile conf/certs/intermediate.crt 

    #SSLCertificateFile conf/ssl/server.crt  
    #SSLCertificateKeyFile conf/ssl/server.key

SSLCertificateKeyFile conf/certs/server.key
SSLCertificateFile conf/certs/certnew-prmeightqa.pem
SSLCertificateChainFile conf/certs/certnew-chain-prmeightqa.p7b    


RequestHeader set X-Forwarded-Proto "https" 
ProxyPreserveHost On


    #New Firms
    ProxyPass /firms https://vtorfrmqa03.monad.com:8443/firms 
    ProxyPassReverse /firms https://vtorfrmqa03.monad.com:8443/firms

Also, attached is my standalone.xml and httpd.conf.
I hope somebody can help me configure this:

Responses

I'm not sure if you still need help. I faced this problem and solved it by edit "valid redirect URIs" to "/*" on keycloak client of your application. Hope it helpful for you.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.