example wrong config file listed below, note that there is a "," instead of a ";" between the server key and cert.
{
"log":{
"level":"info",
"output":"/var/log/realm-tls.log"
},
"network":{
"zero_copy":true
},
"endpoints":[
{
"listen":"0.0.0.0:443",
"listen_transport": "tls;cert=cert.cer,key=cert.key",
"remote":"127.0.0.1:444"
}
]
}
example wrong config file listed below, note that there is a "," instead of a ";" between the server key and cert. { "log":{ "level":"info", "output":"/var/log/realm-tls.log" }, "network":{ "zero_copy":true }, "endpoints":[ { "listen":"0.0.0.0:443", "listen_transport": "tls;cert=cert.cer,key=cert.key", "remote":"127.0.0.1:444" } ] }
the correct config file should be:
{ "log":{ "level":"info", "output":"/var/log/realm-tls.log" }, "network":{ "zero_copy":true }, "endpoints":[ { "listen":"0.0.0.0:443", "listen_transport": "tls;cert=cert.cer;key=cert.key", "remote":"127.0.0.1:444" } ] }