Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IIS - Tomcat

Posted on 2011-09-02
6
Medium Priority
?
448 Views
Last Modified: 2012-05-12
Web server - IIS 6
App server  - Tomcat

Description:
I have a website. Recently i got a requirement that few users need to access the site over https. So I have created other website(in IIS) and pointed it to the same application server. I had installed the SSL certificate on the second website(https) and using the same IP for which I am using for the first site(http).

Problem:
When I am trying to access the https site, the request is always being redirected to http site. Please let me know where I am doing wrong.
0
Comment
Question by:Raz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:Shmoid
ID: 36473941
After installin the certificate in IIS did you bind it?

Since you setup the IIS website just for the https traffic did you enable the option to require SSL?
0
 

Author Comment

by:Raz
ID: 36474253
yes I have bound it.
I have enabled theh option require SSL.
Do I have to use a dedicated IP for the https site?
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 36474519
Why not just enable SSL on the original configured Web site. If you have the configured application hosting both port 80 and 443, then users needing SSL simply change to https. Setup the other way, what may be happening is that the redirect is essential forwarding clients from the 443 site to the 80 site and hence leaving SSL. Make them one in the same and remove redirection. If you have a second site pointed to the same content (i.e., no redirection), check if there is a config value specifying the domain name that has the http bit in it. I have one application like that where they have a setting for a URL and it requires full URL and not a relative path. Therefore, it is hard-coded to http or https.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:Raz
ID: 36474705
If I enable SSL on the original configured Web site, when we access the site using http is going unavailable. Here the requirement is both http and https access needs to be allowed to the site. Few group of users are given http url and others are given https url.
I will check if the url is hardcoded, and get back to you.

Thanks.
0
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 36474712
Uncheck the Require SSL, basically set it up to use SSL but not mandate it.
0
 

Author Comment

by:Raz
ID: 36508562
The redirection is happening in the application. You are right mwvisa1. Thanks
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question