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: 
alexboyer
Visitor

rovideoplayer - https for EncodingKey

Hello,

We're having difficulty using a secure address for our license proxy in our Roku app. Over http it works as expected, but if using https, it immediately fails playback. Any ideas or workarounds?

Thanks!
0 Kudos
6 REPLIES 6
RokuChris
Roku Employee
Roku Employee

Re: rovideoplayer - https for EncodingKey

Are you setting a certificate on your video screen?

screen.SetCertificatesFile("common:/certs/ca-bundle.crt")
0 Kudos
alexboyer
Visitor

Re: rovideoplayer - https for EncodingKey

Will check that. Thanks.
0 Kudos
alexboyer
Visitor

Re: rovideoplayer - https for EncodingKey

Didn't work with the common .crt. Tried it with one from our site and in the package and it also fails.


screen = CreateObject("roVideoScreen")
screen.SetCertificatesFile("pkg:/certs/webcert.pem")
screen.SetMessagePort(port)
screen.SetContent(item)
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: rovideoplayer - https for EncodingKey

There are some other certificate related functions you can experiment with. http://sdkdocs.roku.com/display/sdkdoc/ifHttpAgent
0 Kudos
alexboyer
Visitor

Re: rovideoplayer - https for EncodingKey

Does the built in ca-bundle include Thawte?
0 Kudos
RokuJoel
Binge Watcher

Re: rovideoplayer - https for EncodingKey

I don't know the answer to that question - I believe it is the same bundle of certs you get in recent Firefox and other browsers. You might try using ifHttpAgent.SetCertificatesDepth(integer) and set to 3 or 4 and see if that helps - supported on non-legacy hardware only.

- Joel
0 Kudos