briansmith / webpki

WebPKI X.509 Certificate Validation in Rust
https://briansmith.org/rustdoc/webpki/
Other
464 stars 166 forks source link

TLS error: webpki error: UnsupportedCriticalExtension #261

Closed bwintertkb closed 2 years ago

bwintertkb commented 2 years ago

Hi guys,

Sorry to bother you with this as but I'm getting this error while using tokio tungstenite (note when I'm at the office it works). The code is

let (mut socket, mut res) = connect_async( Url::parse("wss://stream.binance.com:9443/ws/btcusdt@trade") .expect("Can't connect to case count URL"), ) .await?;

it works fine. However, when I do the same at home I get the following error "TLS error: webpki error: UnsupportedCriticalExtension"

I'm pretty new to TLS, could someone advise me on how to resolve this issue?

Thank you in advance!

bwintertkb commented 2 years ago

Just an update. It works in wsl but not windows 11 Version 10.0.22000 Build 22000.