# I am not able to generate streamlock key and password

**URL:** <https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736>\
**Category:** Hire a Consultant\
**Tags:** webrtc\
**Created:** [August 2, 2019, 2:43pm UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736 "2019-08-02T14:43:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyender\_rai](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satyender\_rai](https://community.wowza.com/u/satyender_rai)\
**Post date:** [August 2, 2019, 2:43pm UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/1 "2019-08-02T14:43:24Z")

</div>

i am trying to setup the webrtc localy wit free trial version of wowza stream engine. To create a ssl certificate from my account (streamlock file tab) i am getting error saying Sorry, your license type is not eligible for StreamLock certificates. Please contact [billing@wowza.com](mailto:billing@wowza.com) for assistance.

Please clear my doubt, that to use webrtc do i need to buy the streamlock certificate.  
i am noob to wowza and webrtc. please give some tutorial for setting up the webrtc with wowza.

---

<div class="post-metadata">

**Author:** ![satyender\_rai](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satyender\_rai](https://community.wowza.com/u/satyender_rai)\
**Post date:** [August 5, 2019, 6:33am UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/2 "2019-08-05T06:33:01Z")

</div>

update: I got the streamlock certificate and password by logging as developer account.

But now when i try to use publish example of webrtc it gives me an error saying "WebSocket connection failed: wss://localhost.[my streamlock key].streamlock.net/webrtc-session.json ".

i am using sdp url as :“wss://localhost.[my streamlock key].streamlock.net/webrtc-session.json”. Is this SDP URL is correct?

I am running the Wowza streaming engine and webrtc both on the same system.

please guide me if I am doing anything wrong.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 5, 2019, 6:45pm UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/3 "2019-08-05T18:45:51Z")

</div>

Welcome to Wowza @satyender rai, I’ll try and help.

Have you tested running a stream that in NOT WebRTC just to make sure the streamlock is working? You can do this with a sample mp4 and run it in our test players.

[https://www.wowza.com/testplayers](https://www.wowza.com/testplayers)

This way we can find out if the issue is the streamlock set up and not the WebRTC.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 5, 2019, 6:48pm UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/4 "2019-08-05T18:48:00Z")

</div>

Also, If not already, for WebRTC, the below ports will need to be open and port forward if going across networks.

TCP: 1935, 443

Make sure you do not have firewalls blocking this ports from being open- that can throw that error.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 5, 2019, 6:50pm UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/5 "2019-08-05T18:50:38Z")

</div>

Lastly, be sure that you have the correct IP address in the application.xml file.

---

<div class="post-metadata">

**Author:** ![satyender\_rai](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satyender\_rai](https://community.wowza.com/u/satyender_rai)\
**Post date:** [August 14, 2019, 7:27am UTC](https://community.wowza.com/t/i-am-not-able-to-generate-streamlock-key-and-password/53736/6 "2019-08-14T07:27:33Z")

</div>

everything is working fine.

i was using wrong sdp url as :"wss://localhost.[my streamlock key].

[streamlock.net/webrtc-session.json](http://streamlock.net/webrtc-session.json)

".

it should be “wss://[my streamlock key].streamlock.net/webrtc-session.json”.

Thanks for your help and support
