websocat
websocat copied to clipboard
Can't make SSL work...
websocat --pkcs12-der q.pkcs12 --binary wss-l:0.0.0.0:55555 tcp:127.0.0.1:5555 <
websocat: Unfortunately, serving multiple clients without --exit-on-eof (-E) or with -U option is prone to socket leak in this websocat version
On connection:
websocat: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:ssl/record/rec_layer_s3.c:1544:SSL alert number 46
websocat: Connection refused (os error 111)
Are you trying to connect from browser or from another Websocat instance? Is the certificate properly issued or self-signed?
websocat: Connection refused (os error 111)
Are you sure tcp:127.0.0.1:5555 is available? Check with nc 127.0.0.1 5555.
Self signed but I imported it in the browser. And anyway the connection is refused.
And anyway the connection is refused.
websocat: Connection refused (os error 111) is likely coming from tcp:127.0.0.1:5555 part, not from the wss-l:0.0.0.0:55555 part.