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: 

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 2
boomAlex
Visitor

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

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