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: 
Highlighted
salman23
Level 7

HTTPS problem

Hi,
I am developing a channel.But i have some api calls from my developing engine.Since all calls are HTTPS i am not able to retrieve the response because of the presence of HTTPS instead of HTTP.What is the remedy for this.Is it the certificate problem.If so , should the client provide the certificate?
0 Kudos
3 Replies
Roku Employee
Roku Employee

Re: HTTPS problem

If you can authenticate to your server via https with a web browser you should be able to do it with a roku:

use ifHTTPAgent:
InitClientCertificates() as Boolean
SetCertificatesFile(path as String) as Boolean
SetCertificatesDepth(depth as Integer) as Void

which is an interface available in roURLTransfer.

- Joel
0 Kudos
EnTerr
Level 8

Re: HTTPS problem

"salman23" wrote:
... HTTPS instead of HTTP. What is the remedy for this. Is it the certificate problem. If so, should the client provide the certificate?

Just last week we had discussion like that, see if it helps viewtopic.php?f=34&t=71686&p=448105#p448105
Apparently you have to always manually add certificate chain, due to some space oddity player does not use the default certificate that is already included. Maybe someone will explain why, or maybe they will fix this in future release.
0 Kudos
salman23
Level 7

Re: HTTPS problem

Thanks a lot for your quick replies @RokuJoel and @EnTerr. Let me have a look at what you guys said.
0 Kudos