Issues Streaming HLS over HTTPS with NGNIX

Posted July 3, 2020 967 views

I’ve configured a manual install of NGINX (1.17.10) with Ubuntu.

I’ve followed this to install:

I’ve then added SSL certification using LetsEncrypt - Xolphin ssl check says “The certificate could be verified and is installed properly”

I can stream hls (.m3u8) over http, but I can’t stream over https.

The fault I receive is:

This site can’t provide a secure connection myserver sent an invalid response.
Try running Windows Network Diagnostics.

Firefox developer:

Further examination showed no connection to my https stream


My server video was showing a 404 error but attributed to nginx 1.14, which I know is the Digital Ocean package version, which I’ve never installed but somehow its in there. Note that my http stream still works.

I uninstalled nginx (sudo apt-get purge nginx nginx-common)

The .conf file remained in place.

I reinstalled nginx-1.17.10. Once again I can stream to it, receive http and the SSL is recognised by SSL Check.

I can also identify in my developer “console” that an https stream connection is now being made. Everything is blue on the console and recognises nginx-1.17.10, but it still won’t play the stream!

JW PLayer shows a generic 232011 error.

I’ve asked for DO technical support but no response in four days :-(

Can someone advise how to clear this error and move this forward?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!