Disabling TLS validation in settings does not affect gRPC

To reproduce, disable TLS validation in the settings and run the TLS example server from Tonic (https://github.com/hyperium/tonic/tree/master/examples):

PS C:\Users\Andreas\source\repos\tonic\examples> cargo run --bin tls-server
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
     Running `C:\Users\Andreas\source\repos\tonic\target\debug\tls-server.exe`

Then load the UnaryEcho proto file from it, connect to https://localhost:50051/. The UI shows a non-committal error message of client error (Connect):

The Yaak.log contains:

[2025-03-14][18:05:20][ERROR][rustls_platform_verifier::verification::windows] failed to verify TLS certificate: invalid peer certificate: UnknownIssuer

From this, it seems to me like the TLS certificate validation is not disabled by the UI settings.

Please authenticate to join the conversation.

Upvoters
Status

Released

Board

Feedback

Tags

Bug

Date

Over 1 year ago

Author

Shaderbug

Subscribe to post

Get notified by email when there are changes.