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: 
joetesta
Roku Guru

Re: Roku won't play video from Secure Server?

I'm having a similar problem trying to switch to streaming over https. The video link works fine on roku using http, but https returns in debug:
Unspecified or invalid track path/url.

I've added to my roVideoScreen instance the following:
screen.SetCertificatesFile("common:/certs/ca-bundle.crt")


The https link works outside of roku. I wonder if it could be the fact I'm testing this on a non-standard port? The non-standard port works fine for https connections getting XMLs and whatnot, but I don't see any other reason why this won't work for streaming mp4.. any ideas?
aspiring
0 Kudos
RokuJoel
Binge Watcher

Re: Roku won't play video from Secure Server?

are you calling screen.InitClientCertificates() ?

- Joel
0 Kudos
belltown
Roku Guru

Re: Roku won't play video from Secure Server?

"RokuJoel" wrote:
are you calling screen.InitClientCertificates() ?

- Joel

Isn't that only needed when the Roku client certificate is required to perform TLS Client Authentication with the server, i.e. the server needs to authenticate that the request is coming from a Roku device? Normally, servers (CDNs, etc.) don't care where the request is coming from, and it's only necessary to perform authentication of the server, which is what SetCertificatesFile() is for.
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.