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

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 2
belltown
Roku Guru

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.
0 Kudos
uarlive
Visitor

Re: Skip SSL Verify

Thanks Belltown.
0 Kudos