Not able to create secure socket connection.
Lighttpd version in use lighttpd/1.4.54 (ssl).
I'm able to make web socket connection, but I'm not able to make secure socket connection.
With secure socket configuration, I'm make connection with non-secure web socket connection. Below is curl sample request.
curl --insecure -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: 10.10.11.1" -H "Origin: https://10.10.11.1" http://10.10.11.1:4454/ws_server.php
HTTP/1.1 101 Switching Protocols
With secure request, I'm seeing below error:
curl --insecure -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: 10.10.11.1" -H "Origin: https://10.10.11.1" https://10.10.11.1:4454/ws_server.php
curl: (35) SSL received a record that exceeded the maximum permissible length.
On browser, I'm seeing below when I make request.
WebSocket connection to 'wss://10.10.11.1:4454/ws_server.php' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
I've followed below link:
Please note, I'm using self-signed certificate for ssl configuration and I've attached lighttpd configuration.
Requesting to share some light, if I'm something in the configuration.
Also available in: Atom