Skip to content

Kestrel not responding to HTTPS protcol with SSL #7684

@brainoverflow98

Description

@brainoverflow98

I used the below configuration in my appsettings.json for using SSL with Kestrel when I start the application from command line it works great with HTTP however I get ERR_CONNECTION_CLOSED with HTTPS even though Kestrel successfully starts and listens on port 443 with given certificate file. What are your suggestions ?

  "Kestrel": {
      "Endpoints": {
	 "HTTP": { "Url": "http://*:80" },
         "HTTPS": {
            "Url": "https://*:443",
            "Certificate": {
               "Path": "ssl/domain.crt"
            }
         }
      }
   }

Originally posted by @Tratcher in aspnet/KestrelHttpServer#1290 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-kestrelhelp wantedUp for grabs. We would accept a PR to help resolve this issueseverity-nice-to-haveThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions