# Configure SSL for RTMPS

**URL:** https://community.wowza.com/t/configure-ssl-for-rtmps/34614
**Category:** Wowza Streaming Engine
**Created:** [May 18, 2010, 1:58pm UTC](https://community.wowza.com/t/configure-ssl-for-rtmps/34614 "2010-05-18T13:58:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Guillermo\_Arturo\_Rom](https://avatars.discourse-cdn.com/v4/letter/g/ad7895/32.png) [@Guillermo\_Arturo\_Rom](https://community.wowza.com/u/Guillermo_Arturo_Rom)
#### Post date: [May 18, 2010, 1:58pm UTC](https://community.wowza.com/t/configure-ssl-for-rtmps/34614/1 "2010-05-18T13:58:45Z")

</div>

Hi!

I’m trying to configure my Amazon instance to use rtmps instead of rtmp.

I already have a wildcard certificate, and did follow these instructions:

[How to request an SSL certificate from a certificate authority](https://www.wowza.com/forums/showthread.php?t=6464)

However on the VHost file the hostport definition for port 443 was merged with ports 80 and 1935 like this:

```auto
<Port>1935,80,443</Port>

```

So I took out port 443 and defined the hostport like this:

```auto
<HostPort>
	<ProcessorCount>4</ProcessorCount>
	<IpAddress>*</IpAddress>
	<Port>443</Port>
	<SSLConfig>
		<KeyStorePath>${com.wowza.wms.context.VHostConfigHome}/path/to/my/ceert/file</KeyStorePath>
		<KeyStorePassword>my_keystore_password</KeyStorePassword>
		<KeyStoreType>JKS</KeyStoreType>
		<SSLProtocol>TLS</SSLProtocol>
		<Algorithm>SunX509</Algorithm>
	</SSLConfig>
	<SocketConfiguration>
		<ReuseAddress>true</ReuseAddress>
		<ReceiveBufferSize>24000</ReceiveBufferSize>
		<SendBufferSize>65000</SendBufferSize>
		<KeepAlive>true</KeepAlive>
		<AcceptorBackLog>100</AcceptorBackLog>
	</SocketConfiguration>
	<HTTPProviders>
		<HTTPProvider>
			<BaseClass>com.wowza.wms.http.HTTPClientAccessPolicy</BaseClass>
			<RequestFilters>*clientaccesspolicy.xml</RequestFilters>
			<AuthenticationMethod>none</AuthenticationMethod>
		</HTTPProvider>
		<HTTPProvider>
			<BaseClass>com.wowza.wms.http.HTTPCrossdomain</BaseClass>
			<RequestFilters>*crossdomain.xml</RequestFilters>
			<AuthenticationMethod>none</AuthenticationMethod>
		</HTTPProvider>
		<HTTPProvider>
			<BaseClass>com.wowza.wms.http.HTTPServerVersion</BaseClass>
			<RequestFilters>*</RequestFilters>
			<AuthenticationMethod>none</AuthenticationMethod>
		</HTTPProvider>
	</HTTPProviders>
</HostPort>

```

The Vhost file I’m modyfing is the “root” one (i.e. the one at the conf folder in the installation directory) But I’m using 3 Vhost environments and just want to use SSL for one of them for now.

So… when I attempt to do a rtmps connection to the server, nothing happens. It’s like it’s not even connecting since I get nothing in the log files.

In the application file Im using the RequireSecureConnection module to enforce the use of at least rtmpe.

Could someone help me out here?

---

<div class="post-metadata">

### Author: ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)
#### Post date: [May 18, 2010, 11:30pm UTC](https://community.wowza.com/t/configure-ssl-for-rtmps/34614/2 "2010-05-18T23:30:21Z")

</div>

As you indicate, you will have to do this in the VHost you are going to use RTMPS with. If you want to use it in each VHost it has to be a different IP/Port combination in each.

As far as I know, RTMPE is comparable security, and I know it just works.

Richard

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [October 18, 2012, 3:42pm UTC](https://community.wowza.com/t/configure-ssl-for-rtmps/34614/3 "2012-10-18T15:42:37Z")

</div>

I believe the problem above was with SSL certificate conversion to a form for Java (JKS - Java Key Store). Are you trying to use an exisitng certificate? It can be tricky to convert.

Charlie

---

<div class="post-metadata">

### Author: ![Scott\_Moore](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@Scott\_Moore](https://community.wowza.com/u/Scott_Moore)
#### Post date: [October 18, 2012, 6:33pm UTC](https://community.wowza.com/t/configure-ssl-for-rtmps/34614/4 "2012-10-18T18:33:40Z")

</div>

Was this issue ever resolved? It seems very close to the same issue I’m having with Wowza 3.1.0 (EC2 instance).

Regards,

Scott
