# Enabling RTMPS with Streamlock streaming using Amazon S3 video and Wowza

**URL:** <https://community.wowza.com/t/enabling-rtmps-with-streamlock-streaming-using-amazon-s3-video-and-wowza/44364>\
**Category:** Wowza Streaming Engine\
**Created:** [November 30, 2014, 10:58pm UTC](https://community.wowza.com/t/enabling-rtmps-with-streamlock-streaming-using-amazon-s3-video-and-wowza/44364 "2014-11-30T22:58:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karamjeet\_Khalsa](https://avatars.discourse-cdn.com/v4/letter/k/82dd89/32.png) [@Karamjeet\_Khalsa](https://community.wowza.com/u/Karamjeet_Khalsa)\
**Post date:** [November 30, 2014, 10:58pm UTC](https://community.wowza.com/t/enabling-rtmps-with-streamlock-streaming-using-amazon-s3-video-and-wowza/44364/1 "2014-11-30T22:58:46Z")

</div>

Hi Folks,

So now that JWPlayer 6.11 is released, I am trying to configure an RTMPS video stream from Amazon S3 using Wowza.

Here is the code I am using, but I am getting a “Error Loading Stream – Could not Connect to Server” –

Is this code correct? Should this be configured to use RTMPS over port 443?

RTSP Link
jwplayer("player").setup({ width:640, height:360, sources: [{ file: "rtmps://XXX.XXX.XXX:443/vods3/\_definst\_/mp4:amazons3/video.mp4" },{ file: "http://XXX.XXX.XXX:443/vods3/\_definst\_/mp4:amazons3/video.mp4/playlist.m3u8" }], rtmp: { bufferlength: 3, proxyType: "best" }, fallback: false }); Thank you, Karamjeet

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [December 4, 2014, 1:38pm UTC](https://community.wowza.com/t/enabling-rtmps-with-streamlock-streaming-using-amazon-s3-video-and-wowza/44364/2 "2014-12-04T13:38:08Z")

</div>

Hi,

Did you configure your Wowza server to use the StreamLock certificate by following the instructions described in the “[How to get SSL certificates from the StreamLock service](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)” forum article?

Did you open the 443 TCP port in the Amazon EC2 instance firewall settings?

Are you using the StreamLock host name in your RTMPS playback URL? --\> rtmps://[your-unique-ID].streamlock.net:443/vods3/_definst_/mp4:amazons3/video.mp4

Zoran
