473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SSL and IIS with Multiple Sites

6
Hello, I have multiple sites hosted through my IIS and I recently installed a certificate to one of them for SSL connections. To begin, I receive two issues with my current configuration. The first, I only get "Page Not Found" or "No Input File" (for PHP) errors whenever I use HTTPS to connect to the site. With the certificate (if I don't require SSL) I can still load all pages fine. I believe that this could be due to the fact that I have an unassigned IP address for the host name, from what I have read in searches, but I am not completely sure. I should also note that there is our mail server which has it's appropriate certificate and that runs fine (although I did not set up that website, nor do I have access because the IIS server is shared).

The second issue is with the certificate that is displayed when I try to use HTTPS. The certificate assigned in the Directory Security has the common name as the site, but when I access through HTTPS, I'm presented with a server that is apparently issued to the Server rather than issued to my site. I have not been able to find any information on this topic as of this posting.

I am running everything on Windows Server 2003 with IIS 6.0. I also have PHP and MySQL linked to my site (which are not present on any other sites in the same IIS Server).

If any other technical information is required, I will be able to reply about that to help resolve this problem. Thank you in advance.
Jun 13 '07 #1
6 3808
Vyper
6
... but when I access through HTTPS, I'm presented with a server that is apparently issued to the Server rather than issued to my site...
That should be presented with a certificate that has the same common name as the Server rather than the one in my directory security.

I have done a little more research, and I have found that my PHP isn't enabled for HTTPS, so that may be a resolution to the issue with PHP pages not loading (although it doesn't quite answer why HTML pages aren't loading and there's still the lingering problem on the server certificate). I found a checklist produced by Thawte on SSL and IIS troubleshooting and I have tried most of them to no avail. I still have to try the SSL Diagnostics tool by Microsoft that was recommended which I will do when I get access to the server in a few hours.

Also, I wanted to note (because I'm not sure if I did so explicitly earlier) that in my Website Properties, the IP address is set to "(All Unassigned)" as I'm not sure if that makes a difference. I have chosen to use an arbitrary port (port 9359) which is enabled on my router and firewall, although that did not produce any results either. I'm not sure if I'm getting the server certificate with HTTPS because of an overriding configuration inherited from the server configuration or because I haven't configured SSL properly.

I will be upgrading my PHP to the latest release (migrating from 4.3.9 to 5.2.3) and enabling SSL for it at the same time and I will see if that helps in any way and provide an update if I can give more information at that time. I have assured that I have the private key to the certificate and quite a few other basic troubleshooting steps I've found. I'll take a deeper look into the server setup regarding it's certificate and see if it's affecting my site using it's certificate. Until then, any more information that might be useful is appreciated. Thank you.
Jun 13 '07 #2
kenobewan
4,871 Expert 4TB
My advice is to contact the IIS admin about the page not found. If you like I can have the post moved to php where there may be more experience with this issue.
Jun 14 '07 #3
Vyper
6
My advice is to contact the IIS admin about the page not found. If you like I can have the post moved to php where there may be more experience with this issue.
I would appreciate that. Thank you for your efforts. My father is the admin, and I have contacted him prior to this posting, but generally he will agree that I have more knowledge about this particular area than he does. I think I have an IIS book lying around that I can go through as well. Thank you again.
Jun 14 '07 #4
Vyper
6
Okay, I have done a little bit more research into the two problems I am experiencing.

As for PHP not loading files, I have checked my phpinfo and I do not see HTTPS listed as a registered stream. So, I'm thinking that PHP isn't supporting SSL at the moment. I will enable that once I've migrated.

Now, for the IIS problem. I believe that my issue is with my lack of supplying a specific IP to the Website Property. I believe it's due to the fact that I'm using host headers, and with SSL, the domain is encrypted. I believe this is the reason I'm not getting what I expect because it's returning the server instead of my domain because it can't get a host header. This also returns my servers company website as the main page because it's going to the server. This is certainly the reason for my errors and explains the awkward certificate use. So, my goal now is to figure out how to keep host-headers while still using SSL. I believe http://support.microsoft.com/kb/187504 has the information pertaining to it, but I'm just looking for some confirmation of this working. The only problem is that it says to use wildcard server certificates, however my sites are domain1.com, domain2.com, domain3.com, etc. and I can't use a *.com server certificate. I'm guessing that the only other option is to set up a different IP address for the site but I'm not sure if I have extra IP addresses floating around. I'll find out more about it. If anyone has suggestions or ideas that might help, let me know. Thank you.
Jun 14 '07 #5
Vyper
6
Just wanted to send this message saying that I figured out what was wrong with it and everything seems to be working as expected now. Thanks to whomever attempted to help.
Jun 15 '07 #6
bomb27
1
Can you let me know how you figued this out?
I have the SAME situation, a bought and installed an SSL for one site on my server which hosts many sites.
I installed the cert, but it's not working--and I do not have multiple IP addresses I can assign to this one virtual website.

Can you tell me how I can fix it? The MSN article says that server 2003 fixes the issue, but I have server 2000...

Thanks in advance!
Jul 22 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: yabba | last post by:
w2k server... after rebooting the event viewer/application log shows multiple restarts of Active Server Pages and they continue to build in memory as each start produces a IWAM_SERVERNAME in the...
5
by: Todd | last post by:
Could someone help me find a tutorial (or perhaps instuct me) in the proper way to configure IIS 5.1 so that I can design and test (using localhost) multiple web sites. My problem arises when I...
6
by: Mark Goldin | last post by:
I have registered a domain that forwards every hit to my home PC. I have configured Default Web site to show one Web from my PC. So when people navigate to www.mydomain.com they see that site....
0
by: FindJobEasy.com | last post by:
With so many job sites on the internet, it is almost impossible for you to search them all. http://www.findjobeasy.com is a job search engine. Multiple job sites will be searched just by one...
2
by: Dave Wright | last post by:
Hi, We have implemented a IIS NLB farm and would like to know if a SQL Session database can be used to host multiple sites? As the entry in web.config does not allow a database name to be...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
6
by: Ludvig | last post by:
I have various domains using the same application/assembly They differ in contents and design, based on a "site id", and get its information from an SQL server. Now I have to deploy the...
13
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.