Answer the question
In order to leave comments, you need to log in
How to create an ssl certificate for your hls stream?
Hello! Need help. I continue to master LAMP, raised my wordpress to https on Apache, got a free domain on eu.org, letsencrypt was given a certificate. There was a desire to try to make your stream. In the blog on the site there is a post where the video window is, you press play, you watch the broadcast.
Installed nginx with rtmp module, raised hls. I go to the site from an iPhone - the stream is going great, everything works. But it does not show on PC and androids, because there is no certificate and even in the opera in the element inspector the error is ERR_CERT_COMMON_NAME_INVALID.
I did not raise the site on nginx, only rtmp broadcast works. How can I secure it so that the browser shows the stream? I want a broadcast that will work on most devices. Maybe somehow you can push to the certificate that I already have? I tried to make a self-written one, but the opera still does not show the stream and also swears.
Answer the question
In order to leave comments, you need to log in
I solved the problem with this article.
https://www.ustoopia.nl/featured/nginx-rtmp-hls-ss...
So you need to put the certificate on nginx, and proxy the site with the same nginx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question