Support for websocket

Hi,

I successfully tested boringproxy to convert my HTTP website to HTTPS. However, I wonder is it possible to do the same for WebSocket. I have a WebSocket running in localhost ws://localhost:9090. Is it possible to add a secure tunnel to this WebSocket and have a link like wss://subdomain.mydomain.com?

Thanks

Hey @abhishek_pg, when creating a tunnel if you set TLS Termination to Client RAW TLS Websockets should work.

See this issue here for background:

https://github.com/boringproxy/boringproxy/issues/16

1 Like

Thank you so much for the reply. It worked for me. I have one more doubt though. Boringproxy uses Letsencrypt for certificates. And these certificates are valid only for 90 days. Does boring proxy renew the certificate automatically after 90 days or do we have to change the certificate manually ??

Glad it’s working. The certs should update automatically.