# SSL/TLS encryption of WebRTC under localhost testing

**URL:** <https://community.wowza.com/t/ssl-tls-encryption-of-webrtc-under-localhost-testing/92114>\
**Category:** Wowza Streaming Engine\
**Created:** [October 12, 2020, 6:58am UTC](https://community.wowza.com/t/ssl-tls-encryption-of-webrtc-under-localhost-testing/92114 "2020-10-12T06:58:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![video\_streaming](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@video\_streaming](https://community.wowza.com/u/video_streaming)\
**Post date:** [October 12, 2020, 3:31pm UTC](https://community.wowza.com/t/ssl-tls-encryption-of-webrtc-under-localhost-testing/92114/2 "2020-10-12T15:31:57Z")

</div>

Yes it is possible to run WebRTC on a localhost, and if you search the forums for “webrtc localhost”, you will find some discussion around this if those posts help you.

* * *

For a localhost, you will need to use your local IP address, this can be found with ipconfig or ifconfig command.

You will then request a certificate with this IP address.  
[https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service](https://www.wowza.com/docs/how-to-get-ssl-certificates-from-the-streamlock-service)

Then in your webrtc Application.xml  
[install-dir]/conf/webrtc

You will need to enter your IP address here:

```
Property>
	<!-- comma separated list of IP addresses and the transport information. For multiple IP's use a pipe character to separate the lists -->
	<Name>webrtcIceCandidateIpAddresses</Name>
	<Value>[wowza-streaming-engine-internal-ip-address],udp</Value>
	<Type>String</Type>
</Property>
<Property>
	<Name>webrtcUDPBindAddress</Name>
	<Value>0.0.0.0</Value>
	<Type>String</Type>
</Property>

```

Save and restart your application for changes to take effect.

I would recommend using TCP port 443 and this will be setup in the VHost.xml as shown in the StreamLock guide. If you are using your own SSL certificate: As long as the DNS the certificate belongs to can respond with a local IP of your server you can run webrtc on your local network.

if you need any help, please send us a a [support ticket](https://www.wowza.com/support/open-ticket) and we’ll be happy to help.

---

_[View the full topic](https://community.wowza.com/t/ssl-tls-encryption-of-webrtc-under-localhost-testing/92114)._
