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!

Are you setting a certificate on your video screen?

screen.SetCertificatesFile("common:/certs/ca-bundle.crt")

Will check that. Thanks.

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)

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

Does the built in ca-bundle include Thawte?

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