aspose file tools*
The moose likes BEA/Weblogic and the fly likes Using IIS 7.5 as proxy for weblogic with SSL for both Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Using IIS 7.5 as proxy for weblogic with SSL for both" Watch "Using IIS 7.5 as proxy for weblogic with SSL for both" New topic
Author

Using IIS 7.5 as proxy for weblogic with SSL for both

Bruno Moura
Greenhorn

Joined: Aug 01, 2013
Posts: 2
How can I configure IIS 7.5 to serve as the proxy server for an application running on WebLogic 10 configured to use SSL too (this is mandatory).

I have tried to use a pem, cert and others formats to get the correct handshake between IIS and WebLogic but I'm still getting a error message detailed in the log ahead (sorry for the raw format).

Bellow is the error on browser




Log from IIS

datetime SSL must be used

datetime Initializing SSL datetime INFO: Initializing SSL library

datetime Loaded 1 trusted CA's datetime timer thread starting

datetime INFO: Successfully initialized SSL datetime SSL configured successfully

datetime resolveRequest: request '/' has not been forwarded.

datetime Found NEITHER '?' nor ';' in URI

datetime Uri length is 1

datetime Uri send to isNotExcluded /

datetime Uri after pathTrim /

datetime request '/console-app' after applying defaultFileName.

datetime URI is /console-app, len=12

datetime Request URI = [/console-app]

datetime attempt #0 out of a max of 30

datetime Trying a pooled connection for 'app_web_logic_server/7004/7004'

datetime getPooledConn: No more connections in the pool for Host[app_web_logic_server] Port[7004] SecurePort[7004]

datetime general list: trying connect to 'app_web_logic_server'/7004/7004 at line 1285 for '/console-ims'

datetime New SSL URL: match = 1 oid = 22

datetime Connect returns -1, and error no set to 10035, msg 'Unknown error'

datetime EINPROGRESS in connect() - selecting

datetime Setting peerID for new SSL connection

datetime 0aaa b128 5c1b 0000 ...(\... datetime Local Port of the socket is 53772

datetime Remote Host app_web_logic_server Remote Port 7004 datetime general list: created a new connection to 'app_web_logic_server'/7004 for '/console-app', Local port: 53772

datetime WLS info in sendRequest: app_web_logic_server:7004 recycled? 0

datetime Hdrs from client:[Accept]=[image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*]

datetime Hdrs from client:[Accept-Encoding]=[gzip, deflate]

datetime Hdrs from client:[Accept-Language]=[pt-BR]

datetime Hdrs from client:[Host]=[10.171.20.25]

datetime Hdrs from client:[User-Agent]=[Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)]

datetime Hdrs from client:[SM_FILTERCTXTPTR]=[000000000158a060]

datetime Hdrs from client:[SM_LOCATION]=[/] datetime URL::sendHeaders(): meth='GET' file='/console-app' protocol='HTTP/1.1'

datetime Hdrs to WLS:[Accept]=[image/jpeg, image/gif, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*]

datetime Hdrs to WLS:[Accept-Encoding]=[gzip, deflate]

datetime Hdrs to WLS:[Accept-Language]=[pt-BR]

datetime Hdrs to WLS:[Host]=[10.171.20.25]

datetime Hdrs to WLS:[User-Agent]=[Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)]

datetime Hdrs to WLS:[SM_FILTERCTXTPTR]=[000000000158a060]

datetime Hdrs to WLS:[SM_LOCATION]=[/] datetime Hdrs to WLS:[Connection]=[Keep-Alive]

datetime Hdrs to WLS:[WL-Proxy-Client-IP]=[10.171.20.25]

datetime Hdrs to WLS:[Proxy-Client-IP]=[10.171.20.25]

datetime Hdrs to WLS:[X-Forwarded-For]=[10.171.20.25]

datetime Hdrs to WLS:[WL-Proxy-Client-Keysize]=[128]

datetime Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]

datetime Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]

datetime Hdrs to WLS:[WL-Proxy-SSL]=[true]

datetime INFO: No session match found

datetime INFO: DeleteSessionCallback datetime ERROR: SSLWrite failed

datetime SEND failed (ret=-1) at 789 of file ..\nsapi\.\URL.cpp datetime *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 790 of ..\nsapi\.\URL.cpp

datetime Marking app_web_logic_server:7004 as bad

datetime Exception occurred for backend host 'app_web_logic_server/7004/0' while sending request : 'WRITE_ERROR_TO_SERVER [os error=0, line 790 of ..\nsapi\.\URL.cpp]: '

datetime got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 790 of ..\nsapi\.\URL.cpp]: at line 998

Someone could help me giving some resources or links with detailed information for how I can configure IIS on front end of WebLogic on back end both using SSL?

Thanks very much!

MdFaisal Khan
Greenhorn

Joined: Mar 02, 2011
Posts: 16

You can refer this link

http://weblogic-wonders.com/weblogic/2012/10/03/configure-iis7-as-a-proxy-with-weblogic-server/

Do you need SSL between Weblogic and IIS?

Bruno Moura
Greenhorn

Joined: Aug 01, 2013
Posts: 2
Hi Khan

Thank you very much for your answer.

I really need SSL between IIS and Weblogic, this is the question.

If you have additional resources I'll appreciate your help.


MdFaisal Khan
Greenhorn

Joined: Mar 02, 2011
Posts: 16
add me on skype.. we can try to fix it on screenshare
faiz6692
 
 
subject: Using IIS 7.5 as proxy for weblogic with SSL for both