A very easy way to enable SSL for testing purposes is using a Self-Signed certificate.
To do that :
-
Open IIS Manager
-
Double click the Server Certificates feature in the home page
-
On the Actions Panel click "Create Self-Signed Certificate..."
-
Specify a name, for example: MyTestCertificate and click OK
This will create a Self-signed certificate that you can now use for testing purposes.
To assign the certificate to your site:
-
Expand the Tree View untill you see the Site that you want to configure
-
Right Click the Site and choose Edit Bindings...
-
Click Add...
-
Select HTTPS as the protocol, and choose your certificate from the certificates list. by default it will bind to port 443 and all IP Addresses but you can change it here.
-
Click OK
Now that assigned to the site, so you should be able to navigate to https://localhost (or whatever URL), you should get two "Browse" links in the Actions Pane for that site.
Finally you might want to mark that the site/application should only be accessible through SSL.
-
In the Tree View click the Application or Site you configure the SSL Setttings
-
Double click the Feauture SSL Settings
-
Check the Require SSL checkbox.
-
Click Apply in the Actions Pane
Warnings: When using a Self-signed certificate or any Test Certificate your remote users will be prompted with a warning and by default will not be able to access your site unless they choose to bypass that warning. However this is a very easy way to try SSL.