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

HTTPS using roUrlTransfer

I'm attempting to download a JSON payload over https and even when setting my certificates file I get a -10001 error code which doesn't correspond to any error code in the documentation. Does anyone know what error code means?
0 Kudos
2 REPLIES 2
YungBlood
Streaming Star

Re: HTTPS using roUrlTransfer

Is it possible to show your roku code, and the address you are trying to access?

I have seen unusual response codes from faulty coding.
YungBlood

Bringing more fun to Roku!
0 Kudos
eockh
Visitor

Re: HTTPS using roUrlTransfer

Thanks for the response. I managed to figure out the problem. The default certificates file setting of

request.SetCertificatesFile("common:/certs/ca-bundle.crt")

did not seem to be valid for the server that I was hitting. I ended up exporting all 4 certificates for my server and loading them instead and it appears to work. Thanks!
0 Kudos