RTMPS sslKey / sslCert File Paths

RTMPS sslKey / sslCert File Paths

Support Forum › Category: Installation and Basic Operation › RTMPS sslKey / sslCert File Paths
bbischan asked 10 years ago
I have been trying to setup RTMPS on EMS v1.7 and have been having problems with getting the sslKey / sslCert parameters setup correctly. In config.lua I have setup the sslKey/sslCert paths using absolute path, but EMS is unable to start (running as service) when RTMPS is enabled. If I run EMS from the command line and ensure I’m running from the same directory where the cert / key are located I can get this to work. This does not work: sslKey=”/etc/evostream/myserver.key”, sslCert=”/etc/evostream/myserver.crt”, This works if running CLI and launch from the same location as key /cert: sslKey=”myserver.key”, sslCert=”myserver.crt”, Is this a known issue? Does absolute path need to be specified in different way?



5 Answers
_Eric_S_ Staff answered 10 years ago
Hi, May I request for the config.lua file that you used to do the test? May I also request for the Evostream Log files under the folder /var/log/evostreamms? To help us sift through the log files, please do the following steps first:
  1. Make sure EMS is not running.  
  2. Delete the contents of /var/log/evostreamms.
  3. Attempt to start EMS as a service using you RTMPS configured config.lua file.
  4. Send us the log files that were generated in /var/log/evostreamms when you attempted to start EMS as a service.
Thanks!
bbischan answered 10 years ago
When I first encountered this problem I followed these steps and found that EMS would simply fail to start and would not produce any log files. Here is the config.lua I am using: config
_Eric_S_ Staff answered 10 years ago
Hi, I checked the paths that you set in the config.lua file: sslKey=”/etc/evostream/watchtower-security.key”,
sslCert=”/etc/evostream/watchtower-security.crt”, If you placed the watchtower-security.key/crt files under the evostream installation folder, then you may have an incorrect sslKey/sslCert path in your RTMPS. Please change it to sslKey=”/etc/evostreamms/watchtower-security.key”,
sslCert=”/etc/evostreamms/watchtower-security.crt”,   Also, if you check the webrtc section of your config.lua, your key/cert path is correctly set to “/etc/evostreamms/watchtower….”.
bbischan answered 10 years ago
Eric…thanks for your help with this issue. It was right in front of me and I just couldn’t see it. All good now. Bob
_Eric_S_ Staff answered 10 years ago
Hi Bob, Glad to help. Cheers! Eric

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.