<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I think besides the basic support from the library, the actual problem with TLS is necessity to get actual CA-issued certificate and then configure it.</div><div class="">I would suggest not having such support (at least not in the near future).</div><div class=""><br class=""></div><div class="">Things can get relative simple if we integrated with Alex Halderman's <a href="https://letsencrypt.org/" class="">https://letsencrypt.org/</a> here, but it still will only apply to NFD’s that has domain names (e.g., some gateway nodes).</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 23, 2015, at 12:21 PM, Wentao Shang <<a href="mailto:wentaoshang@gmail.com" class="">wentaoshang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi Jeff T,<div class=""><br class=""></div><div class="">The WebSocket library we are using in NFD is 'websocketpp'</div><div class=""><br class=""></div><div class=""><a href="http://www.zaphoyd.com/websocketpp" class="">http://www.zaphoyd.com/websocketpp</a></div><div class=""><br class=""></div><div class="">It supports WebSocket over TLS but we haven't added that to NFD yet. If there is consensus that this will be useful, we can add wss support in the next release of NFD (the only issue is to pick a port number for wss server).</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Wentao<br class=""><br class=""><div class="gmail_quote">On Fri Jan 23 2015 at 10:53:50 AM Thompson, Jeff <<a href="mailto:jefft0@remap.ucla.edu" class="">jefft0@remap.ucla.edu</a>> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap: break-word; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">Hello NFD team,</div>
<div class=""><br class="">
</div>
<div class="">If a web page is served over https, and the JavaScript in the web page wants to make a WebSocket connection, then this connection must be over secure WebSocket over TLS (wss). This means that if a web page servered over https needs to communicate with
 an NFD host, then the WebSocket proxy in NFD needs to support secure WebSocket.</div>
<div class=""><br class="">
</div>
<div class="">Does the WebSocket library used by NFD support secure TLS connections (wss)?</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">- Jeff T</div>
</div></blockquote></div></div></div></blockquote></div><br class=""></body></html>