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: 
uarlive
Level 7

Skip SSL Verify

I am looking to skip the verification of the ssl certs on my server. Is there a skip ssl verify flag available in Brightscript?
0 Kudos
2 Replies
belltown
Level 7

Re: Skip SSL Verify

It depends on the component you're using:

With roUrlTransfer, which implements the ifUrlTransfer interface, you can use the EnablePeerVerification() method with a parameter value of False.

If you're using any other component, e.g. roVideoScreen, etc, there is no interface I'm aware of that these components implement that will do that.

Of course, you could always put the certificates in your Roku package and call ifHttpAgent.SetCertificatesFile(), or configure your server to not do the validation.
https://github.com/belltown/
0 Kudos
uarlive
Level 7

Re: Skip SSL Verify

Thanks Belltown.
0 Kudos