# HTTPS problem

**URL:** <https://forum.developer.roku.com/t/https-problem/2958>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [July 7, 2014, 4:21am UTC](https://forum.developer.roku.com/t/https-problem/2958 "2014-07-07T04:21:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![salman23](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@salman23](https://forum.developer.roku.com/u/salman23)\
**Post date:** [July 7, 2014, 4:21am UTC](https://forum.developer.roku.com/t/https-problem/2958/1 "2014-07-07T04:21:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![RokuJoel](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RokuJoel](https://forum.developer.roku.com/u/RokuJoel)\
**Post date:** [July 8, 2014, 12:46am UTC](https://forum.developer.roku.com/t/https-problem/2958/2 "2014-07-08T00:46:26Z")

</div>

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:](http://sdkdocs.roku.com/display/sdkdoc/ifHttpAgent)  
InitClientCertificates() as Boolean  
SetCertificatesFile(path as String) as Boolean  
SetCertificatesDepth(depth as Integer) as Void

which is an interface available in roURLTransfer.

- Joel

---

<div class="post-metadata">

**Author:** ![EnTerr](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@EnTerr](https://forum.developer.roku.com/u/EnTerr)\
**Post date:** [July 8, 2014, 1:14am UTC](https://forum.developer.roku.com/t/https-problem/2958/3 "2014-07-08T01:14:24Z")

</div>

> “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](http://forums.roku.com/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.

---

<div class="post-metadata">

**Author:** ![salman23](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@salman23](https://forum.developer.roku.com/u/salman23)\
**Post date:** [July 8, 2014, 8:33am UTC](https://forum.developer.roku.com/t/https-problem/2958/4 "2014-07-08T08:33:54Z")

</div>

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