Webpack-dev-server: Self-signed SSL certs not valid on MacOS 10.15 (Catalina)

Created on 9 Oct 2019  路  7Comments  路  Source: webpack/webpack-dev-server

(PR inbound)

  • Operating System: MacOS 10.15
  • Node Version: 12.9.0
  • NPM Version: 6.10.3
  • webpack Version: 4.39.3
  • webpack-dev-server Version: 3.8.2
  • Browser: Chrome

  • [x] This is a bug

  • [ ] This is a modification request

Code

(Usual webpack setup; no specific code needed to repro)

Expected Behavior

Autogenerated SSL certificate should be accepted by common browsers.

Actual Behavior

As of MacOS 10.15, the SSL certificate validation logic is more strict and requires some additional certificate extensions. Ref: https://support.apple.com/en-us/HT210176

For Bugs; How can we reproduce the behavior?

Start up webpack-dev-server with SSL enabled on a MacOS 10.15 system; attempt to hit the server in Chrome (probably Safari as well).

For Features; What is the motivation and/or use-case for the feature?

Most helpful comment

All 7 comments

/cc @tarrall can we close?

@evilebottnawi How soon is that PR going to be released?

@coltonw near future

@evilebottnawi , I am still having a NET::ERR_CERT_INVALID with version 3.8.2 which should includes #2274

Release will be today

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MJ111 picture MJ111  路  3Comments

mrdulin picture mrdulin  路  3Comments

antoinerousseau picture antoinerousseau  路  3Comments

gimmi picture gimmi  路  3Comments

subblue picture subblue  路  3Comments