IIS Express + SSL certificate for localhost + HMR #1214

Closed
opened 2025-08-09 17:19:17 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ghost on 12/1/2016

Hi guys,

So i have an ASP.NET Core app that is running on 'https://localhost:44328/home' that is currently specified in launchSettings.json.

{
  "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "iisExpress": {
      "applicationUrl": "https://localhost:44328/",
      "sslPort": 44328
    }
    ....
}

What i currently have:

           app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions
                {
                    HotModuleReplacement = true,                
                    ConfigFile = "config/webpack.config.js"
                });

My problem:

Is there a way to specify that you want to get the hmr server to run over https?

image

*Originally created by @ghost on 12/1/2016* Hi guys, So i have an ASP.NET Core app that is running on 'https://localhost:44328/home' that is currently specified in launchSettings.json. ``` { "iisSettings": { "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { "applicationUrl": "https://localhost:44328/", "sslPort": 44328 } .... } ``` What i currently have: ``` app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions { HotModuleReplacement = true, ConfigFile = "config/webpack.config.js" }); ``` My problem: Is there a way to specify that you want to get the hmr server to run over https? ![image](https://cloud.githubusercontent.com/assets/4084252/20791630/9d741752-b7c6-11e6-9efd-7e89cc770887.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1214
No description provided.