- Below are the sample config.json and config.lua that will work for a server with self signed certificate
- Please find detailed explanation with examples from the Edge Help Center
WS EMS - Config.json
"http_server": {
"host": "localhost",
"port": 8000,
"ssl": true,
"authenticate": false,
"use_default_certificate" : true
},
"certificates": {
"validate": false,
"allow_self_signed": true
}
LSR - config.lua
-- EMS Connection Configuration
scripts.rap_host = "localhost"
scripts.rap_port = 8000
-- EMS Connection TLS Configuration
scripts.rap_ssl = true
scripts.rap_deny_selfsigned = false
scripts.rap_validate = false
-- EMS Connection Authentication
-- Configuration
scripts.rap_server_authenticate = false
-- HTTP Server Configuration
scripts.script_resource_host = "localhost"
scripts.script_resource_port = 8001
-- HTTP Server TLS Configuration
scripts.script_resource_ssl = true
scripts.script_resource_use_default_certificate = true
-- HTTP Server Authentication
-- Configuration
scripts.script_resource_authenticate = false