Forum Discussion

eockh's avatar
eockh
Visitor
14 years ago

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?

2 Replies

  • YungBlood's avatar
    YungBlood
    Streaming Star
    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.
  • 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!