Setting Up ScreenConnect with free Let's Encrypt SSL on Windows Server

  1. Install IIS server role.
  2. In router/firewall forward port 80 and 443 to server IP.
  3. Open IIS Manager and drill down to your Default Web Site (or whatever site you have setup) and on right sidebar click Bindingsā€¦ and set your host/domain/subdomain for http port 80 and https port 443.
  4. Install Certify from https://certify.webprofusion.com/
  5. Open Certify and create new contact.
  6. Create new certificate, select your site and request certificate.
  7. Install ScreenConnect from https://www.screenconnect.com/Download If you're transferring from another SC install, make sure you either download the same version or upgrade the old install before transferring to the new server. To transfer from one install to another, stop all SC services on both servers and copy your existing install folder on top of the new server install folder and restart the services on the new server.
  8. Change the WebServerListenUri setting in your SC web.config file to use https and port 443. You can either edit the file manually or use the Edit Web.Config extension.
  9. To auto-redirect http to https we will need to download and install the URL-Rewrite Module from: https://www.iis.net/downloads/microsoft/url-rewrite You will go through a process including the Web Platform Installer if you don't already have it. Once installed and IIS Manager is reopened you should find the URL Rewrite icon under your website.
  10. Create a text file called web.config in your wwwroot directory and paste in the following and you're done!
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="HTTPS redirect" patternSyntax="Wildcard" stopProcessing="true">
                    <match url="*" />
                    <conditions>
                        <add input="{HTTPS}" pattern="off" />
                    </conditions>
                    <action type="Redirect" url="https:{HTTP_HOST}{REQUEST_URI}" redirectType="Found" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>