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: 

skip the verification of the ssl certs

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
Highlighted
boomAlex
Level 7

Re: skip the verification of the ssl certs

Not sure what you mean here.

for roURLTransfer you can use roku's certs by calling SetCertificatesFile("common:/certs/ca-bundle.crt") this may do what you want.
0 Kudos
belltown
Level 7

Re: skip the verification of the ssl certs

"GustavoWoltmann" wrote:
I am looking to skip the verification of the ssl certs on my server. Is there a skip ssl verify flag available in Brightscript?

ifUrlTransfer.EnablePeerVerification(False) should work for the roUrlTransfer component. Unfortunately, EnablePeerVerification() is not implemented for other BrightScript components (roVideoScreen, etc.) I'm not sure why Roku did not implement EnablePeerVerification() in ifHttpAgent or in the other individual components.
https://github.com/belltown/
0 Kudos