# RTMPS Configuration

**URL:** <https://community.wowza.com/t/rtmps-configuration/43416>\
**Category:** Wowza Streaming Engine\
**Created:** [August 13, 2014, 9:07am UTC](https://community.wowza.com/t/rtmps-configuration/43416 "2014-08-13T09:07:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VICTOR\_MORAES](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@VICTOR\_MORAES](https://community.wowza.com/u/VICTOR_MORAES)\
**Post date:** [August 13, 2014, 9:07am UTC](https://community.wowza.com/t/rtmps-configuration/43416/1 "2014-08-13T09:07:35Z")

</div>

Hello,

O followed the steps from “How to create a self-signed SSL certificate” tutorial. I’ve been created the certificate but I already don’t understand some points:

1. how to configure my application to use it

2. how to configure the url player and player to access this application.

Can you help me?

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [August 14, 2014, 4:38pm UTC](https://community.wowza.com/t/rtmps-configuration/43416/2 "2014-08-14T16:38:53Z")

</div>

Hi,

Please see the article below for configuration details.

[How to get SSL certificates from the StreamLock service](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)

The URL in the player needs to point to the [StreamLock.net](http://StreamLock.net) name.

Server: rtmps://StreamLockID.streamlock.net/vod

Stream: mp4:sample.mp4

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [August 14, 2014, 10:58pm UTC](https://community.wowza.com/t/rtmps-configuration/43416/3 "2014-08-14T22:58:03Z")

</div>

Hi,

Currently JW Player does not support RTMPS, so that part, at least, is not going to work.

If you were to use HLS in JW Player instead, then you could use HTTPS, which JW player does support.

Daren

---

<div class="post-metadata">

**Author:** ![VICTOR\_MORAES](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@VICTOR\_MORAES](https://community.wowza.com/u/VICTOR_MORAES)\
**Post date:** [August 14, 2014, 9:28am UTC](https://community.wowza.com/t/rtmps-configuration/43416/4 "2014-08-14T09:28:38Z")

</div>

> Hi,
> 
> Please see the article below for configuration details.
> 
> [How to get SSL certificates from the StreamLock service](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)
> 
> The URL in the player needs to point to the [StreamLock.net](http://StreamLock.net) name.
> 
> Server: rtmps://StreamLockID.streamlock.net/vod
> 
> Stream: mp4:sample.mp4
> 
> Regards,
> 
> Jason

Jason,

I don’t intend to use StreamLock service for now but a self-signed SSL certificate. I followed the steps below:

1. I created a self-signed SSL certificate named **“ssl.dns024967.jks”** in the path **“C:\Program Files (x86)\Wowza Media Systems\Wowza Streaming Engine 4.0.1\conf”**.

2. I modified the **VHost.xml** file to enable SSL port

I set the SSLConfig/KeyStorePath value to

```auto
${com.wowza.wms.context.VHostConfigHome}/conf/ssl.dns024967.jks

```

and

set

```auto
SSLConfig/KeyStorePassword

```

1. My application modules are configurated on the server according this:

base **Base** com.wowza.wms.module.ModuleCore

logging **Client Logging** com.wowza.wms.module.ModuleClientLogging

flvplayback **FLVPlayback** com.wowza.wms.module.ModuleFLVPlayback

ModuleCoreSecurity **Core Security Module for Applications** com.wowza.wms.security.ModuleCoreSecurity

My Custom Module **My Custom Module** br.com.bbts.modulos.MyCustomModule

ModuleRequireSecureConnection **ModuleRequireSecureConnection** com.wowza.wms.plugin.security.ModuleRequire

But There’s a step at the tutorial that I did not understand:

You must configure a **domain name entry for the domain chosen above** and all communications that use port 443 must use either SSL or RTMPS and the domain name specified in the certificate.

What does it mean?

---

<div class="post-metadata">

**Author:** ![VICTOR\_MORAES](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@VICTOR\_MORAES](https://community.wowza.com/u/VICTOR_MORAES)\
**Post date:** [August 14, 2014, 9:45am UTC](https://community.wowza.com/t/rtmps-configuration/43416/5 "2014-08-14T09:45:20Z")

</div>

Look at my player configuration:

[HTML]jwplayer(“myElement1”).setup({

file: “rtmp://dns024967/live/myStream”,

height: 480,

width: 704,

image: “/assets/myVideo.jpg”,

rtmp: {

bufferlength: 1.0,

}

});[/HTML]

In this case I receive the message:

```auto
INFO server comment - MediaCasterStreamValidator.init[live/_definst_]: Started
INFO server comment - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: AllowedEncoders: securityPublishValidEncoders:Wirecast/|FME/|FMLE/
INFO server comment - ModuleCoreSecurity.onAppStart[live/_definst_]: Publish: block duplicate stream names : false
INFO server comment - ModuleCoreSecurity.onAppStart[live/_definst_]: Play: SecureConnection: securityPlayRequireSecureConnection:false
INFO application app-start _definst_ live/_definst_
INFO session connect-pending 10.8.1.172 -
INFO session comment 1418295069 ModuleRequireSecureConnection.onConnect: rejectConnection: clientId:1418295069
INFO session connect 10.8.1.172 -

```

In another way (the configuration below), i do not identify the request:

[HTML]jwplayer(“myElement2”).setup({

file: “rtmps://ssl.dns024967/live/myStream”,

image: “/assets/myVideo.jpg”,

height: 256,

width: 340

});[/HTML]
