Skip to content

HTTP ports and TSL support

Stefano Germano edited this page Aug 17, 2020 · 2 revisions

LoIDE can be configured to use HTTP or HTTPS (o both).
It's possible to set HTTP and HTTPS ports and the path of the SSL/TSL certificate files in the app-config.json. The file is located in the config folder.

The schema of the JSON file can be found here.

The default values of the JSON file are:

{
    "port"      :
    {
        "http"      : 8084,
        "https"     : 8085
    },
    "path"      :
    {
        "key"       : "",
        "cert"      : ""
    },
    "max_age"   : 31536000
}

To use LoIDE over HTTPS you need a valid TLS certificate. The paths to the cert and key files of the certificate need to be specified in the "key" and "cert" parameters of the app-config.json file.