Kurento media server in AWS
<p>I am following the <strong>Kurento</strong> documentation to set up a <strong>Kurento Media Server 6.0</strong> (KMS) in a <strong>Ubuntu 14.04 AWS instance</strong> and I am not able to make the Hello World tutorial work. </p>

<p>I edited the WebRtcEndpoint.conf.ini file to use Public Free STUN/TURN servers: </p>

<pre><code>stunServerAddress=74.125.142.127
stunServerPort=19302
</code></pre>

<p>For the TURN I use a free one available here <a href="http://numb.viagenie.ca/" rel="nofollow noreferrer">http://numb.viagenie.ca/</a>. </p>

<p>I used <a href="https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/" rel="nofollow noreferrer">this</a> tool to check the status of those servers and they seem to be working.(srflx for the STUN and relay for the TURN)</p>

<p>Then, I do </p>

<blockquote>
  <p>service kurento-media-server-6.0 start</p>
</blockquote>

<p><strong>KMS seems to work</strong>. In the Logs I see:</p>

<blockquote>
  <p><code>KurentoMediaServer main.cpp main() Mediaserver started</code></p>
</blockquote>

<p>I follow the steps for running one of the github kurento tutorial codes:</p>

<pre><code>git clone https://github.com/Kurento/kurento-tutorial-js.git

cd kurento-tutorial-js/kurento-hello-world 

bower install 

http-server -p 8443 -S -C keys/server.crt -K keys/server.key
</code></pre>

<p>And, although I am able to see the web page and see my local media streaming when I start, I am not able to see anything in the remote. I am stuck on trying to make the KMS to transmit the streaming. Also, I noticed that in the KMS logs it says "Secure websocket server not enabled", I am not sure if this is relevant...</p>

<p>Any kind of help would be appreciated.</p>

<p><strong>Solved:</strong></p>

<p>Thanks to igracia I went to <a href="http://doc-kurento.readthedocs.io/en/stable/mastering/securing-kurento-applications.html#configure-kurento-media-server-to-use-secure-websocket-wss" rel="nofollow noreferrer">here</a>. Then after configuring Kurento to use wss I still wasn't able to make the tutorial work. I needed to do one last thing. Accessing KMS, by default at the port <em>8433</em>, not 8443, and accepting the certificate. Then I went to my web client at the port <em>8443</em> and everything worked.</p>