Verify kurento media server using wss
<p>How to verify kurento media server is using wss or not?
As mention <a href="http://doc-kurento.readthedocs.io/en/stable/mastering/securing-kurento-applications.html" rel="nofollow">this</a> documentation I'd uncommented the</p>

<p><code>"secure": {
  "port": 8433,
  "certificate": "defaultCertificate.pem",
  "password": ""
},</code></p>

<p>and provided the certificate and password pem files, but when i'm passing KMS_URI = "wss://localhost:8433/kurento" I'm unable to get icecandidates also. But by using KMS_URI = "ws://localhost:8888/kurento" I can able to get icecandidates from the KMS but unable to reach ICECANDIDATES STATE as "CONNECTED". (Using nodeJS as Signaling Server)  </p>

<ol>
<li>Is there any command or way to check whether KMS using wss protocol or not?</li>
<li>If I'm using all these thing why I'm unable to reach Icecandidatestate as "CONNECTED"?</li>
</ol>

<hr>

<h2>Edit 1</h2>

<ol>
<li>I build my application by following kurento documentation (<a href="http://doc-kurento.readthedocs.io/en/stable/tutorials/node/tutorial-one2many.html" rel="nofollow">one-to-many nodeJS example</a>). And I had hosted my app on Amazon ec2 machine. Both servers are on same machine i.e. nodeJS server and KMS.</li>
<li>google STUN server address is configured in my application.</li>
<li>Using KMS version 6.0 &amp; kurento-client-js version 6.6.0</li>
<li>Libnice is also updated with version 0.1.13</li>
</ol>

<p>My application was running fine but suddenly I don't know why its because of chrome update or what application is unable to reach connected state even it is return icecandidates to clients but unable to reach icecandidates connected state. Lastly due to chrome update version 52, I had stuck with the same problem but by using SSL certificate on KMS it starts working fine.</p>

<p>By using command </p>

<pre><code>sudo netstat -putan | grep kurento
</code></pre>

<p>KMS is listening both 8443 and 8888 ports</p>

<p>But the thing is that when I'm using KMS_URI = "ws://localhost:8888/kurento" in my node server.js file to create Pipeline it is returning icecandidates to clients and pipeline get created. But when I'm passing KMS_URI = "wss://localhost:8443/kurento" it is returning a log message reconnect to server . So, what exactly is the problem does KMS not using certificate file or anything else.</p>

<p>Rest about the certificate so there should be no issue with certificate because I'm using same certificate for nodeJS application and both the servers are on same machine so I'd used that same certificate for KMS also. For nodeJS application certificate is working fine.</p>