0

i have a .NET Single page application (Durandal).

i want to convert it from HTTP to HTTPS in order to make it secure and add the certificates thing.

how can i do that ?

user3117281
  • 61
  • 1
  • 7

1 Answers1

1

In IIS, go to Features view of your application in IIS panel, then click on SSL settings.

Check the "Requires SSL" checkbox.

You can leave the default Ignore for Client certificates checkbox and change later if required.

Then also in IIS, click on the server (top level) then in features view, double click "Server Certificates"

From there, either import a certificate you already have, create a test self-signed certificate or buy a new certificate from a verfied certifcate provider.

Then in your website, click on bindings... you can bind https usually to the default port 443.

You can also configure this more through the configuration editor in IIS features view if required - e.g. the access level in webserver in the drop down can be set to https only.

To check your changes have worked, you can browse to your site with IE, then click on the lock near the address bar. This will show the details of your certificate.

Regards, Rob

Robert Anderson
  • 1,246
  • 8
  • 11