views:

281

answers:

0

We have set up where the Weblogic admin server is on port 9002, but all access to the system can only come on port 80.

The application itself runs on some other ports, and I've successfully proxied the relevant URLs from port 80 to Weblogic using the Weblogic Apache proxy plugin.

However, this doesn't work for the Weblogic Admin console - it seems not to be a Weblogic application in the same way

EDIT: Turns out this isn't the case. The problem is to do with establishing a SSL connection from Weblogic proxy to Admin server application. Currently, I'm stuck on gettig wlproxy the correct CA cert to be able to do this. However, it should still work to proxy it using mod_proxy, so I'm still interested in answers to my question as originally framed.

So I’ve attempted to set up Apache and mod_proxy to proxy http://hostname/console to https://hostname:9002/console.

This works, in that I get the Admin server login screen but when I enter a valid user name and password, I just get returned to the login screen (no error about invalid user/password, which I do get if I use invalid values).

It’s all working fine when I talk directly to port 9002 and don’t go via the proxy.

Does anyone know what else I have to do? Something to do with cookies, maybe?

Has anyone managed to access the Weblogic Administration server through a proxy?

Relevant lines from my Apache conf is below (hostnames changed for simplicity/hding confidential details)

SSLProxyEngine on

ProxyPass /console https://hostname:9002/console
ProxyPassReverse /console https://hostname:9002/console