Open ghost opened 1 year ago
This is for outgoing requests from the proxy?
YARP uses HttpClient to make outbound requests. HttpClient has two ways of controlling the SNI. The first is the host name from the request URI, e.g. example.com. The second is the Host header on the request, which overrides the host name from the URI for SNI.
I don't think there's a way to disable outgoing SNI.
This is for outgoing requests from the proxy?
Yes!
I don't think there's a way to disable outgoing SNI.
Maybe I should make this request in .net?
@MihaZupan @samsp-msft This sounds similar to other recent requests, is there an issue that covers this?
Triage: We should file issue in Runtime, clarify how it works in HttpClient, then decide what to do here. @MihaZupan can you please help here?
Mering comments from Radek and me from the issue in runtime: https://github.com/dotnet/runtime/issues/82165
ConnectCallback
.Triage:
Tracking issue in dotnet/docs: https://github.com/dotnet/docs/issues/34263
What should we add or change to make your life better?
Customize SNI individually
Why is this important to you?
Some places block some websites by detecting SNI, which can be bypassed by not sending SNI information