Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subjectAltName to self-signed certificate for https #1047

Closed
wants to merge 1 commit into from

Conversation

paulca
Copy link

@paulca paulca commented Aug 16, 2017

This fixes #854 and #906 by adding a subjectAltName matching
the commonName for the self-signed cert.

I've been using webpack-dev-server with Rails 5 and it's been quite frustrating to have to manually click "proceed" when using Chrome, even after trusting the self-signed cert.

This PR adds the requisite subjectAltName to the self-signed cert so that Chrome no longer displays the error message described at #854 and #906

What kind of change does this PR introduce?

Simply adds a config option to the self-signed cert.

Did you add or update the examples/?
No, but tested using the https example.

Summary

Using webpack-dev-server for Rails 5 development and repeatedly having to visit the server manually in Chrome before I can continue development.

Does this PR introduce a breaking change?

No.

Other information
This PR shouldn't have any side-effects, other than fixing https in Chrome.

This fixes webpack#854 and webpack#906 by adding a subjectAltName matching
the commonName for the self-signed cert.
@jsf-clabot
Copy link

jsf-clabot commented Aug 16, 2017

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Aug 16, 2017

Codecov Report

Merging #1047 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1047   +/-   ##
=======================================
  Coverage   72.25%   72.25%           
=======================================
  Files           4        4           
  Lines         465      465           
  Branches      139      139           
=======================================
  Hits          336      336           
  Misses        129      129
Impacted Files Coverage Δ
lib/Server.js 79.81% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2cf847...38aed33. Read the comment docs.

@shellscape
Copy link
Contributor

Really appreciate taking the time to open a PR ❤️ Unfortunately this is a duplicate of #987. Please check out the comments on that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Self signed certificate no longer valid as of Chrome 58
3 participants