'WebSocket ssl not working in google chrome [closed]

I'm using reactphp and ratchet libraries websocket wss://web:port secure connection with parameters 'local_cert' and 'local_pk', it works on the firefox, but not working in google chrome(WebSocket connection to wss://web:port failed) until I'm opening the url https://web:port for the first time and it starts to work. How to avoid this action(open url https://web:port)? Thanks.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source