# OpenSSL Support? Trying to do web sockets ...

**URL:** <https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930>\
**Category:** Apple TV and tvOS\
**Created:** [May 24, 2019, 5:58pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930 "2019-05-24T17:58:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![yousafshah](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/y/57b2e6/32.png) [@yousafshah](https://forums.solar2d.com/u/yousafshah)\
**Post date:** [May 24, 2019, 5:58pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/1 "2019-05-24T17:58:16Z")

</div>

I’ve been having great success with Corona and Apple TV (as well as Android TV).

I am trying to get Websockets working on Apple TV.

I have been unable to add OpenSSL to my project and notice that AppleTV is not listed on the documentation page:

[https://docs.coronalabs.com/plugin/openssl/index.html](https://docs.coronalabs.com/plugin/openssl/index.html)

Is it possible to support AppleTV? Now that I am able to see the source code&nbsp; 😉 I can see that the current OpenSSL plugin was committed 6 years ago - is it just that AppleTV was no available at the time?

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![agramonte](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@agramonte](https://forums.solar2d.com/u/agramonte)\
**Post date:** [May 24, 2019, 6:59pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/2 "2019-05-24T18:59:23Z")

</div>

What are you using OpenSSL for the socket?

Adrian

---

<div class="post-metadata">

**Author:** ![Quantumwave](https://forums.solar2d.com/user_avatar/forums.solar2d.com/quantumwave/32/1362_2.png) [@Quantumwave](https://forums.solar2d.com/u/Quantumwave)\
**Post date:** [May 24, 2019, 8:02pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/3 "2019-05-24T20:02:16Z")

</div>

The OpenSSL source was updated 4 days ago, it would really be great if the Corona plug-in be updated too.

[https://github.com/zhaozg/lua-openssl](https://github.com/zhaozg/lua-openssl)

---

<div class="post-metadata">

**Author:** ![yousafshah](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/y/57b2e6/32.png) [@yousafshah](https://forums.solar2d.com/u/yousafshah)\
**Post date:** [May 25, 2019, 4:20am UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/4 "2019-05-25T04:20:14Z")

</div>

> [@agramonte](#):
>
> What are you using OpenSSL for the socket?
> 
> Adrian

Thanks Adrian,

So far I have been using AWS API Gateway as the socket server on the other end and this only supports SSL (wss:// not ws:/).

The two libraries I have tried using are:

Develephant’s version purchased from the marketplace:

[https://marketplace.coronalabs.com/corona-plugins/websockets](https://marketplace.coronalabs.com/corona-plugins/websockets)

and DMC Websockets:

[https://github.com/dmccuskey/DMC-Corona-Library](https://github.com/dmccuskey/DMC-Corona-Library)

to make the connections.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [May 25, 2019, 8:04pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/5 "2019-05-25T20:04:29Z")

</div>

The source for our plugin is here:&nbsp;[https://github.com/coronalabs/plugins-source-openssl](https://github.com/coronalabs/plugins-source-openssl)

This would be a great opportunity for an open source or plugin developer to update this.

Rob

---

<div class="post-metadata">

**Author:** ![yousafshah](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/y/57b2e6/32.png) [@yousafshah](https://forums.solar2d.com/u/yousafshah)\
**Post date:** [May 28, 2019, 9:03pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/6 "2019-05-28T21:03:36Z")

</div>

Well, if I knew where to even start I would gladly try!

I have some budget in my project for getting secure websockets working on Apple TV and Android TV so if any developers can help please message me.

Thanks!

---

<div class="post-metadata">

**Author:** ![agramonte](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@agramonte](https://forums.solar2d.com/u/agramonte)\
**Post date:** [May 24, 2019, 6:59pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/7 "2019-05-24T18:59:23Z")

</div>

What are you using OpenSSL for the socket?

Adrian

---

<div class="post-metadata">

**Author:** ![Quantumwave](https://forums.solar2d.com/user_avatar/forums.solar2d.com/quantumwave/32/1362_2.png) [@Quantumwave](https://forums.solar2d.com/u/Quantumwave)\
**Post date:** [May 24, 2019, 8:02pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/8 "2019-05-24T20:02:16Z")

</div>

The OpenSSL source was updated 4 days ago, it would really be great if the Corona plug-in be updated too.

[https://github.com/zhaozg/lua-openssl](https://github.com/zhaozg/lua-openssl)

---

<div class="post-metadata">

**Author:** ![yousafshah](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/y/57b2e6/32.png) [@yousafshah](https://forums.solar2d.com/u/yousafshah)\
**Post date:** [May 25, 2019, 4:20am UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/9 "2019-05-25T04:20:14Z")

</div>

> [@agramonte](#):
>
> What are you using OpenSSL for the socket?
> 
> Adrian

Thanks Adrian,

So far I have been using AWS API Gateway as the socket server on the other end and this only supports SSL (wss:// not ws:/).

The two libraries I have tried using are:

Develephant’s version purchased from the marketplace:

[https://marketplace.coronalabs.com/corona-plugins/websockets](https://marketplace.coronalabs.com/corona-plugins/websockets)

and DMC Websockets:

[https://github.com/dmccuskey/DMC-Corona-Library](https://github.com/dmccuskey/DMC-Corona-Library)

to make the connections.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [May 25, 2019, 8:04pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/10 "2019-05-25T20:04:29Z")

</div>

The source for our plugin is here:&nbsp;[https://github.com/coronalabs/plugins-source-openssl](https://github.com/coronalabs/plugins-source-openssl)

This would be a great opportunity for an open source or plugin developer to update this.

Rob

---

<div class="post-metadata">

**Author:** ![yousafshah](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/y/57b2e6/32.png) [@yousafshah](https://forums.solar2d.com/u/yousafshah)\
**Post date:** [May 28, 2019, 9:03pm UTC](https://forums.solar2d.com/t/openssl-support-trying-to-do-web-sockets/349930/11 "2019-05-28T21:03:36Z")

</div>

Well, if I knew where to even start I would gladly try!

I have some budget in my project for getting secure websockets working on Apple TV and Android TV so if any developers can help please message me.

Thanks!
