Hi.
I'm running KMS on an AWS EC2 Instance and used the cloudformer template to get it started.
Unfortunately I'm getting the following error in the Kurento log file.
error Kurento WebSocketTransport WebSocketTransport.cpp:192 operator()() Error while setting up tls use_private_key_file: no start line
The pem files have been obtained using LetsEncrypt.
I have changed the user:group permissions of all the pem files to Kurento:Kurento.
I have also tried all the pem files that LetsEncrypt provided viz., chain.pem, privkey.pem, fullchain.pem and cert.pem.
KMS is running properly. Port connectivity was checked using netcat and both 8888 and 8433 get successful connection requests.
When serving a video over port 8888, the whole thing works flawlessly. Only issue seem to be getting the secure port to run.
Below is the entirety of kurento.conf.json
{
"mediaServer" : {
"resources": {
// //Resources usage limit for raising an exception when an object creation is attempted
// "exceptionLimit": "0.8",
// // Resources usage limit for restarting the server when no objects are alive
// "killLimit": "0.7",
// Garbage collector period in seconds
"garbageCollectorPeriod": 240
},
"net" : {
"websocket": {
"port": 8888,
"secure": {
"port": 8433,
"certificate": "fullchain.pem",
"password": ""
},
//"registrar": {
// "address": "ws://localhost:9090",
// "localAddress": "localhost"
//},
"path": "kurento",
"threads": 10
}
}
}
}
Does anybody have any clue as to what I might have missed?
Thanks in advance
Regards,
Rohit Raghunath