Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[JWAS/Mykonos] Application2 URL is getting redirected to Application1 URL

0

0

Article ID: KB29012 KB Last Updated: 08 May 2014Version: 1.0
Summary:
This KB talks about a scenario and provides a resolution to an issue where an application gets redirected to another application when both of them traverse through JWAS
Symptoms:
Two applications are defined in JWAS.

Example:
Application1: www.server.com
Application2: www.jwasserver.com

When www.jwasserver.com is opened in a browser, it gets re-directed to www.server.com

Cause:
This issue is applicable only when one of the applications has SSL enabled and the other application doesn’t have SSL enabled.

For example, assume that applicable1 has SSL enabled and application2 doesn’t.

In such case, in SSL config the application1 will be tied to the listen its IP address on port 80 and port 443. Application2 will be bound on port 80, but will not have an IP address associated. This causes JWAS to bind all port 80 traffic to application1 as it is more specific and has ip address associated, so application2 traffic will be taken over by application1.

Solution:
The workaround is to go to application2’s SSL configuration page, configure it to listen on it’s specific ip address (ie., application2 webserver ip address) on port 80 while leaving port 443 UNCHECKED and leaving the SSL certificate and key BLANK. This will put both the applications on equal precedence level, and will make the routing work as expected.

NOTE: This issue is applicable to version 5.1.3-24 and before. The issue will be fixed in next release.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search