"Validate TLS Certificates" setting not respected for WebSocket connections

Hi I just installed Yaak to test it out with a PiKVM by accessing it’s API. The PiKVM by default uses a self-signed SSL certificate so I unchecked “Validate TLS Certificates” in the Workspace settings. This worked fine for an HTTP request, but when I tried a WebSocket endpoint I got a certificate validation error.

I realize that WebSocket support was only just added, so hopefully it’s as simple as that code path needing to check the setting or something like that.

Here are the logs:

[2025-02-26][20:13:24][INFO][yaak_ws::connect] Connecting to WS wss://10.5.50.194/api/ws?
[2025-02-26][20:13:24][ERROR][rustls_platform_verifier::verification::apple] failed to verify TLS certificate: invalid peer certificate: Other(OtherError("“localhost” certificate is not standards compliant: -67901")) 
[2025-02-26][20:13:24][INFO][yaak_ws::commands] Websocket connection closed

Please authenticate to join the conversation.

Upvoters
Status

Up Next

Board

Feedback

Tags

Bug

Date

Over 1 year ago

Author

Ben Ben Baron

Subscribe to post

Get notified by email when there are changes.