Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
bosborne
Level 7

Disable SSL verification for roVideoPlayer and roVideoScreen

These two components do not implement the ifUrlTransfer interface, so I can't tell my video players to ignore SSL verification procedures. This is a problem because my video dev server is served over HTTPS with a self-signed cert. Rather than get the self-signed cert to use, is there any other way to just have Roku ignore verification when playing videos?
0 Kudos
4 Replies
belltown
Level 7

Re: Disable SSL verification for roVideoPlayer and roVideoSc

Will your server serve the videos if you just use the "http" scheme instead of "https"?
https://github.com/belltown/
0 Kudos
bosborne
Level 7

Re: Disable SSL verification for roVideoPlayer and roVideoSc

No, not in this case.
0 Kudos
Roku Employee
Roku Employee

Re: Disable SSL verification for roVideoPlayer and roVideoSc

"bosborne" wrote:
These two components do not implement the ifUrlTransfer interface, so I can't tell my video players to ignore SSL verification procedures. This is a problem because my video dev server is served over HTTPS with a self-signed cert. Rather than get the self-signed cert to use, is there any other way to just have Roku ignore verification when playing videos?


I don't know that it works, but have you looked at using ifHttpAgent SetCertificatesFile, specifying a .pem that you include in your app that includes your self-signed CA certificate?

http://sdkdocs.roku.com/display/sdkdoc/ifHttpAgent#ifHttpAgent-SetCertificatesFile(pathasString)asBo...
0 Kudos
malort
Level 7

Re: Disable SSL verification for roVideoPlayer and roVideoSc

It would be nice if `EnableHostVerification` was exposed to the roVideoPlayer. We've been trying to isolate possible DNS issues and hoped to bypass the host verification in the roVideoPlayer. I assume this is still not an option?
0 Kudos