Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

StepDescriptionScreenshot
Get computer's fully qualified name

In cmd, run hostname:

Then, ping this hostname to get the computer's fully qualified name:

Install Certificate

In powershell (run as Administrator), run:

New-SelfSignedCertificate -DnsName COMPUTER_FULLY_QUALIFIED_NAME -CertStoreLocation cert:\LocalMachine\My -FriendlyName COMPUTER_FULLY_QUALIFIED_NAME

(warning) Note that the self-signed certificate must be copied to the trusted root certificates, see next step

Import the self-signed certificate into the trusted 

Run mmc, add a snap-in for the certificates of the local computer. Copy the newly created self signed certificate from Certificates (Local Computer) → Personal → Certificates to Trusted Root Certification Authorities using Copy & Paste.

Install Certificate

create a self-signed certificate or a prepared certificate

Bindingsadd binding https referring the installed certificate

Require SSL

optionally set Require SSL

click Apply to save changes

HTTP to HTTPS

Using URL Rewrite Module 2.0 HTTP requests can be redirected to HTTPS.

URL Rewrite (Download)
Redirect from HTTP to HTTPS using the IIS URL Rewrite module

...