Developers

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!
Tags (1)
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")
Tags (1)
0 Kudos
alexboyer
Visitor

Re: rovideoplayer - https for EncodingKey

Will check that. Thanks.
Tags (1)
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)
Tags (1)
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
Tags (1)
0 Kudos
alexboyer
Visitor

Re: rovideoplayer - https for EncodingKey

Does the built in ca-bundle include Thawte?
Tags (1)
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
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!