Skip to content

Host unreachable in https due to weak Http2 cipher #8952

@tebeco

Description

@tebeco

Describe the bug

The browser is not happy with the cipher used for HTTP2 (i guess)
ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY and equivalent in chrome

Bad Workaround

only for firefox
i managed to go in about:config and disable weak cypher check this actually has an effect

is there a simple way to completely disable HTTP2 via a Kestrel IOptions<> ?

To Reproduce

Steps to reproduce the behavior:

  1. uninstalled ALL sdk
  2. removed folder from program files/user/appdata/temp
  3. install sdk 2.2.105 and 3.0.0-preview3 from https://dot.net
  4. version of ASP.NET Core : the one shipped with preview3
  5. dotnet new webapi -n foo
  6. comment out UseHsts
  7. comment out UseHttpsRedirection()
  8. dotnet run --project foo.csproj
  9. hit the http endpoint => works
  10. hit the https endpoint => rejected

Expected behavior

i tried to :

  • dotnet dev-certs http --clean
  • dotnet dev-certs http --trust
  • delete .vs/
  • change launchSettings.json to anything else
  • removed UseHttpsRedirection()
  • removed UseHsts()
  • not working for IP / dns in the browser

pretty sure all i did was update Vs2019, it was workign 2 weeks ago on the same SDK (or the latest win10 insider - fast ring update)

>dotnet --version
3.0.100-preview3-010431
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview3-19153-02" />
  </ItemGroup>

</Project>

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.feature-kestrel

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions