Daniel Fisher (lennybacon.com)

SOA, DATA & THE WEB

Setting up a local SSL development environment for multiple sites

The environment should also work on a notebook while working at a coffee shop. The need for a NIC that is always connected.

1. Add a loopback adapter...

[WIN] + [R] | hdwwiz.exe

image

image

image

image

2. Open the “Network and Sharing Center” …

image

3. Click “Change adapter settings” and identify the loopback adapter…

image

4. Rename the loopback adapter…

image

5. Open loopback adapter’s properties…

image

6. Disable IP v6…

image

7. Edit IP v4 settings and assign an IP Address…

image

8. Click advanced an add another IP address for each SSL-Site to be hosted…

image

9. Open “IIS Manager” and click “Server Certificates”…

image

10. Click “Create self signed certificate” for each SSL site to be hosted and choose the host name as friendly name…

image

image

11. Assign each site to be hosted a dedicated IP address plus certificate…

image

12. Associated IP addresses with host names in the hosts file (or install DNS Services when on Server 2008)…

image

image

Done!

Comments

...or get yourself a wildcard cert e.g. from Windows CA (*.myhost.com) - and simply use host headers ;)

Write a comment