# rovideoplayer - https for EncodingKey

**URL:** <https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [November 14, 2013, 10:18pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744 "2013-11-14T22:18:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexboyer](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@alexboyer](https://forum.developer.roku.com/u/alexboyer)\
**Post date:** [November 14, 2013, 10:18pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/1 "2013-11-14T22:18:52Z")

</div>

Hello,

We’re having difficulty using a secure address for our license proxy in our Roku app. Over http it works as expected, but if using https, it immediately fails playback. Any ideas or workarounds?

Thanks!

---

<div class="post-metadata">

**Author:** ![RokuChris](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@RokuChris](https://forum.developer.roku.com/u/RokuChris)\
**Post date:** [November 14, 2013, 10:22pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/2 "2013-11-14T22:22:53Z")

</div>

Are you setting a certificate on your video screen?

```auto
screen.SetCertificatesFile("common:/certs/ca-bundle.crt")

```

---

<div class="post-metadata">

**Author:** ![alexboyer](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@alexboyer](https://forum.developer.roku.com/u/alexboyer)\
**Post date:** [November 14, 2013, 10:23pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/3 "2013-11-14T22:23:57Z")

</div>

Will check that. Thanks.

---

<div class="post-metadata">

**Author:** ![alexboyer](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@alexboyer](https://forum.developer.roku.com/u/alexboyer)\
**Post date:** [November 14, 2013, 10:51pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/4 "2013-11-14T22:51:10Z")

</div>

Didn’t work with the common .crt. Tried it with one from our site and in the package and it also fails.

```auto

	screen = CreateObject("roVideoScreen")
	screen.SetCertificatesFile("pkg:/certs/webcert.pem")
	screen.SetMessagePort(port)
	screen.SetContent(item)

```

---

<div class="post-metadata">

**Author:** ![RokuChris](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@RokuChris](https://forum.developer.roku.com/u/RokuChris)\
**Post date:** [November 14, 2013, 11:10pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/5 "2013-11-14T23:10:08Z")

</div>

There are some other certificate related functions you can experiment with. [http://sdkdocs.roku.com/display/sdkdoc/ifHttpAgent](http://sdkdocs.roku.com/display/sdkdoc/ifHttpAgent)

---

<div class="post-metadata">

**Author:** ![alexboyer](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@alexboyer](https://forum.developer.roku.com/u/alexboyer)\
**Post date:** [November 15, 2013, 1:57am UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/6 "2013-11-15T01:57:22Z")

</div>

Does the built in ca-bundle include Thawte?

---

<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:** [November 15, 2013, 8:52pm UTC](https://forum.developer.roku.com/t/rovideoplayer-https-for-encodingkey/2744/7 "2013-11-15T20:52:05Z")

</div>

I don’t know the answer to that question - I believe it is the same bundle of certs you get in recent Firefox and other browsers. You might try using ifHttpAgent.SetCertificatesDepth(integer) and set to 3 or 4 and see if that helps - supported on non-legacy hardware only.

- Joel
