# SSL certificate name invalid

**URL:** <https://community.wowza.com/t/ssl-certificate-name-invalid/55162>\
**Category:** Wowza Streaming Engine\
**Tags:** webrtc\
**Created:** [May 13, 2020, 9:22am UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162 "2020-05-13T09:22:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murangaza\_hans](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Murangaza\_hans](https://community.wowza.com/u/Murangaza_hans)\
**Post date:** [May 13, 2020, 9:22am UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/1 "2020-05-13T09:22:18Z")

</div>

Hello again, i have a developper license. I am getting this error after having installed a StreamLock certificate.

About the MediaCp, is there any free offer for development. This is the error in the console: WebSocket connection to ‘wss://192.168.56.1:8880/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_CERT\_COMMON\_NAME\_INVALID

---

<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:** [May 13, 2020, 3:42pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/2 "2020-05-13T15:42:34Z")

</div>

That error can be triggered when you don’t have the correct port configured. Check that you have port 443 configured properly:

Sometimes people have this WebRTC HTTP Provider in HostPort 1935 and it should only be in HostPort 443 ( Make sure it’s the 2nd to last entry just above HTTPServerVersion:

```auto
<HTTPProvider>
 <BaseClass>com.wowza.wms.webrtc.http.HTTPWebRTCExchangeSessionInfo</BaseClass>
      <RequestFilters>*webrtc-session.json</RequestFilters>
      <AuthenticationMethod>none</AuthenticationMethod>
        </HTTPProvider>

```

You will need to uncomment HostPort 443 as that will be needed for SSL streaming for WebRTC.

Save and restart your Wowza Server for changes to take effect.

---

<div class="post-metadata">

**Author:** ![Murangaza\_hans](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Murangaza\_hans](https://community.wowza.com/u/Murangaza_hans)\
**Post date:** [May 13, 2020, 3:33pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/3 "2020-05-13T15:33:27Z")

</div>

I have tried but now i getting an error: WebSocket connection to ‘wss://XXXXXXXX41e28.streamlock.net/webrtc-session.json’ failed: Error in connection establishment: net::ERR\_CONNECTION\_REFUSED. Is there any solution?

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [May 13, 2020, 3:35pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/4 "2020-05-13T15:35:36Z")

</div>

I’ve found this issue when I did not configure my certificate. Have you followed these steps in the Configuring Wowza Streaming Engine to use your StreamLock certificate? [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)

---

<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:** [May 13, 2020, 4:11pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/5 "2020-05-13T16:11:27Z")

</div>

At this point, we need a support ticket from you to view your complete configuration. There are too many variables involved in a WebRTC workflow and we can’t debug in the forums without full access to your files.

You can [submit one here](https://www.wowza.com/support/open-ticket) and our WebRTC engineers will walk you through the setup after they find the error.

---

<div class="post-metadata">

**Author:** ![Murangaza\_hans](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Murangaza\_hans](https://community.wowza.com/u/Murangaza_hans)\
**Post date:** [May 13, 2020, 4:17pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/6 "2020-05-13T16:17:38Z")

</div>

i dont know where The xml configuration file is located.

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [May 13, 2020, 2:39pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/7 "2020-05-13T14:39:21Z")

</div>

Using a streamlock certificate, your SDP url should look like the following - wss://{certificate\_name}.streamlock.net/webrtc-session.json where you replace {certificate\_name} with your streamlock certificate name (typically a series of numbers and letters).

---

<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:** [May 13, 2020, 3:36pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/8 "2020-05-13T15:36:42Z")

</div>

I have edited your streamlock certificate to include X’s. You were sharing your private SSL information that is supposed to be kept private to protect your content.

---

<div class="post-metadata">

**Author:** ![Murangaza\_hans](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@Murangaza\_hans](https://community.wowza.com/u/Murangaza_hans)\
**Post date:** [May 13, 2020, 3:53pm UTC](https://community.wowza.com/t/ssl-certificate-name-invalid/55162/9 "2020-05-13T15:53:00Z")

</div>

Okay now i have modified to port 443. And again an error: WebSocket connection to ‘wss://5ebba1af41e28.streamlock.net/webrtc-session.json’ failed: Error during WebSocket handshake: Unexpected response code: 200
