WebSocket network error: OSStatus Error -9807: Invalid certificate chain
<p>I'm getting following error while connecting to websocket's in safari, In remaining browsers it is working fine </p>

<p>Error:</p>

<pre><code>WebSocket network error: OSStatus Error -9807: Invalid certificate chain
</code></pre>

<p>Code:</p>

<pre><code>var websocket = new WebSocket("wss://localhost:44300/websocketHome", "Room_123")
</code></pre>