mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.8k stars 581 forks source link

How to use Let's Encrypt SSL to start webrtc-streamer? #640

Closed stlobe closed 7 months ago

stlobe commented 7 months ago

Hi All,

I installed Let's Encrypt SSL certificate and tried to start the service but getting Segment Failed. All certificates are stored in 'ssl' directory. The command: webrtc-streamer -C config.json -H443s -c ssl/

It seems the problem is occurred by -H443s. I tried to remove 's' and it starts without SSL. Can anyone help?

Thank you

mpromonet commented 7 months ago

Hi,

This was discussed https://github.com/mpromonet/webrtc-streamer/discussions/618, you should pass to -c a file that concatenate certificate and key (not a folder).

Best Regards, Michel.

stlobe commented 7 months ago

Thank you Michel. But it still prompted ' Segmentation fault'.

stlobe commented 7 months ago

Oh. I found the problem that was caused by openssl devep lib. The problem is solved. Thank Michel again.