Ssl – Configuring IIS site to use HTTPS

httpsiissslwindows-xp

I am working on a REST API which I have currently deployed on a Win XP Professional SP2 development machine running IIS 5.1. The site is currently being hosted on port 81 and being accessed via HTTP. I would now like to configure the site to stop using HTTP and use HTTPS only.

I have developed a self-signed certificate using the SelfSSL.exe tool from the 6.0 Resource Kit Tools and set the Common Name to be the IP of my server (as it's a local development machine it has no domain name). I have also already configured the site to use SSL using the How To Set Up an HTTPS Service in IIS tutorial as my guide.

However, whenever I try to access a resource in the API via HTTPS I get a 404.

Any ideas?

Binding Configuration

IIS Bindings

SSL Configuration

SSL Configuration

Fiddler Response

HTTP/1.1 404 Not Found
Date: Tue, 10 Jul 2012 14:06:35 GMT
Server: Apache/1.3.41 (Unix) mod_auth_pam/1.1.1 DAV/1.0.3 mod_ssl/2.8.31 OpenSSL/0.9.8g
Set-Cookie: iomega=194.205.46.74.58091341929195981; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8

14 
404 - Page Not Found
0

Best Answer

OK,

Based on your Fiddler it looks like you might actually have an Apache box listening on port 443. It can be easy to overlook, especially if it was bundled with another piece of software. Run the following command, see if port 443 is being listened to and what program is listening on it. This should help us figure out if IIS is indeed controlling that port of if some other program is.

netstat -aon | findstr 0.0:443