This walk through will hopefully get someone using IIS 7.0 up and running with SSL. And IIS 7.0 makes this very easy to do.
- Make sure you have IIS 7.0 installed.
- Click on Start from your desktop.
- Hover over Administrative Tools. This will present you with some additional options.
- Click on Internet Information Services (IIS) Manager.
- Under the IIS category, double-click on Server Certificates.
- Under the Actions pane on the right-hand side of the screen, click on Create Self-Signed Certificate.
- Enter a "friendly name" for the certificate request. In this case I used 'Localhost' minus the single quotes. Since I was aiming for https://localhost as my URL.
- In the Connections window to the left expand (if not already) in the follow order: Local Computer Name => Sites.
- Under Sites heading (in the left pane still) click on Default Web Site.
- On the right-side window pane select Bindings.
- In the Site Bindings window click Add.
- Set the following fields accordingly:
- Type => https
- IP Address => All Unassigned
- Port => 443
- Host name =>
- SSL certificate => Localhost (or whatever you named it)
- Click OK and Close to return to the management screen.
- You should now see Browse *:443 (https) in the far right window pane. Click on it to verify that the binding worked.
- You may be warned that it is an "untrusted connection" or a "phishing attempt". This is just your browser not liking a self-signed certificate. You can ignore it. Add https://localhost into your trusted sites to avoid it in the future.
No comments:
Post a Comment