Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jnixon
Visitor

HLS and SSL issues

I'm having trouble streaming using HLS encoded with SSL. Our HLS SSL streams seem to work everywhere except on Roku.

Here's the relevant code:
  port = CreateObject("roMessagePort")
screen = CreateObject("roVideoScreen")

screen.SetMessagePort(port)
screen.SetPositionNotificationPeriod(1)
screen.SetCertificatesFile("common:/certs/ca-bundle.crt")
screen.SetCertificatesDepth(8)
screen.InitClientCertificates()


I end up getting:
Roku internal error: 1
Error message: The format is not supported or the media is corrupt.

We are using a pretty standard certificate (RapidSSL/GeoTrust). Is that not included in ca-bundle.crt? I tried using a few of the root pem files from GeoTrust, but that didn't seem to change anything.
0 Kudos
1 REPLY 1
jnixon
Visitor

Re: HLS and SSL issues

Some additional information.

I have no problem communicating with our API which is under SSL using the same certificate and the built in ca-bundle.crt.
A stream that should work, but doesn't is https://54-241-9-147.fandor.com:443/new ... ylist.m3u8
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.