https in HttpSys2WebServer

Issue #156 resolved
Former user created an issue

Please, need to configure HTTPS in HttpSys2WebServer how can I do ??

Comments (2)

  1. Eric Grange repo owner

    You will first need to install the certificate in Windows, using HTTPSysManager, IIS Manager or command-line with https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-a-port-with-an-ssl-certificate

    Then in the options.json file, set the "SSLPort" option, or in the Domains array, set "SSL" to true. The domain you specify MUST match the one which is in your certificate.

    For instance below is a minimalist set of options you can have in your options.json to specify an https server on port 443 (https default) for queries to "http://www.mydomain.com/" in addition to having installed a certificate for "www.mydomain.com" in Windows

    {
        "Server" : {
            "Domains": [ 
                { "RelativeURI": "", "Port": 443, "SSL": true, "Name": "www.mydomain.com" }
                    ]
            }
    }
    
  2. Log in to comment